コード例 #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)
コード例 #2
0
 def start_new_log_file(self):
     fpath = mktemp()
     start_log_to_file(fpath)
     return fpath
コード例 #3
0
ファイル: __init__.py プロジェクト: rusingineer/ubuntu-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)
コード例 #4
0
 def start_new_log_file(self):
     fpath = mktemp()
     start_log_to_file(fpath)
     return fpath