예제 #1
0
파일: __init__.py 프로젝트: jonjahren/unity
 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