示例#1
0
 def _setUpUnityLogging(self):
     self._unity_log_file_name = mktemp(prefix=self.shortDescription())
     start_log_to_file(self._unity_log_file_name)
     self.addCleanup(self._tearDownUnityLogging)
 def start_new_log_file(self):
     fpath = mktemp()
     start_log_to_file(fpath)
     return fpath
示例#3
0
 def _setUpUnityLogging(self):
     self._unity_log_file_name = mktemp(prefix=self.shortDescription())
     start_log_to_file(self._unity_log_file_name)
     self.addCleanup(self._tearDownUnityLogging)
示例#4
0
 def start_new_log_file(self):
     fpath = mktemp()
     start_log_to_file(fpath)
     return fpath