コード例 #1
0
 def tearDown(self):
     if self.clear_dirs_each_time:
         self.clearDirs()
     DBTestCase.tearDown(self)
コード例 #2
0
 def setUp(self):
     DBTestCase.setUp(self)
     if not hasattr(self, 'tmp_dir') or not os.path.exists(self.tmp_dir):
         self.setUpDirs()