# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-import os
-import sys
import unittest
import initializeTest # set PATH etc for test
if __name__ == "__main__":
unittest.main(exit=False)
- pass
| PATCH version when you make backwards-compatible bug fixes.
"""
-import os
-import sys
import unittest
import pprint as PP
if __name__ == "__main__":
unittest.main(exit=False)
- pass
| logger.warning('Testing %s', 'foo')
"""
-import os
-import sys
import unittest
-import pprint as PP
import logging as LOGI
-from logging.handlers import BufferingHandler
import src.debug as DBG
if verbose:
DBG.push_debug(True)
# DBG.write("assert unittest", [a for a in dir(self) if "assert" in a])
- pass
def test_999(self):
# one shot tearDown() for this TestCase
if __name__ == "__main__":
unittest.main(exit=False)
- pass
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-import os
-import sys
import unittest
import initializeTest # set PATH etc for test
if __name__ == "__main__":
unittest.main(exit=False)
- pass
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-import os
-import sys
import unittest
import initializeTest # set PATH etc for test
self.assertFalse("CRITICAL" in logs)
def test_000(self):
- logger = LOG.getUnittestLogger()
+ LOG.getUnittestLogger()
# one shot setUp() for this TestCase
if self.debug:
DBG.push_debug(True)
if __name__ == "__main__":
unittest.main(exit=False)
- pass
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-import os
-import sys
import unittest
import initializeTest # set PATH etc for test
self.assertFalse("CRITICAL ::" in logs)
def test_000(self):
- logger = LOG.getUnittestLogger()
+ LOG.getUnittestLogger()
# one shot setUp() for this TestCase
if self.debug:
DBG.push_debug(True)
s = SAT.Sat(logger)
DBG.write("test_120 'sat %s'" % cmd, "expected raise", dbg)
with self.assertRaises(Exception):
- returnCode = s.execute_cli(cmd)
+ s.execute_cli(cmd)
logs = logger.getLogsAndClear()
DBG.write("logs", logs, dbg)
if __name__ == "__main__":
unittest.main(exit=False)
- pass
"""
import os
-import sys
import unittest
import getpass
if __name__ == "__main__":
# verbose = True # human eyes
unittest.main(exit=False)
- pass
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
import unittest
import src.product
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
import unittest
import src.product
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
import unittest
import src.product
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
import unittest
import src.product
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
import shutil
import unittest
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
import unittest
from src.salomeTools import Sat
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-import os
-import sys
import threading
import time
import unittest
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-import os
-import sys
import platform
import unittest
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-import os
-import sys
import platform
import unittest
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
import unittest
from src.salomeTools import Sat
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
import unittest
from src.salomeTools import Sat
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
import unittest
from src.salomeTools import Sat
# test launch
if __name__ == "__main__":
unittest.main()
- pass
sat.config("-v VARS.user")
- nb_logs_t0 = len(os.listdir(sat.cfg.USER.log_dir))
+ len(os.listdir(sat.cfg.USER.log_dir))
if os.path.exists(sat.cfg.USER.log_dir + "_save"):
shutil.rmtree(sat.cfg.USER.log_dir + "_save")
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-import os
-import sys
import threading
import time
import unittest
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
import unittest
from src.salomeTools import Sat
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
import shutil
import unittest
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
import shutil
import unittest
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
import unittest
from src.salomeTools import Sat
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
import unittest
from src.salomeTools import Sat
# test launch
if __name__ == "__main__":
unittest.main()
- pass
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
import unittest
from src.salomeTools import Sat
# test launch
if __name__ == "__main__":
unittest.main()
- pass