Beispiel #1
0
 def setUp(self):
     _sys.stderr.flush()
     _sys.stdout.flush()
     global STATE
     assert STATE in (None, TEARDOWN_COMPLETE), (
         "in setUp with bad state %r.  MOST LIKELY PREVIOUS TEST" % STATE
         )
     STATE = SETUP_BEGUN
     # Create all the overridden directories.
     create_testing_directories()
     allow_reloadable_singletons()
     # Ensure the msglog exists before any other logs.
     from mpx.lib import msglog
     self.msglog_object = msglog.log_object()
     self.msglog_object.singleton_load()
     STATE = SETUP_COMPLETE
     _sys.stderr.flush()
     _sys.stdout.flush()
     return
Beispiel #2
0
 def setUp(self):
     DefaultTestFixture.setUp(self)
     self.msglog_object = msglog.log_object()
     msglog.log("_test_case_testing", msglog.types.INFO, "setUp")
     return
 def setUp(self):
     DefaultTestFixture.setUp(self)
     self.msglog_object = msglog.log_object()
     return