コード例 #1
0
ファイル: log_test.py プロジェクト: zsjtoby/simple-db-migrate
 def tearDown(self):
     super(LogTest, self).tearDown()
     delete_files('log_dir_test/path/subpath/*.log')
     if os.path.exists('log_dir_test/path/subpath'):
         os.rmdir('log_dir_test/path/subpath')
     if os.path.exists('log_dir_test/path'):
         os.rmdir('log_dir_test/path')
     if os.path.exists('log_dir_test'):
         os.rmdir('log_dir_test')
コード例 #2
0
 def tearDown(self):
     super(LogTest, self).tearDown()
     delete_files('log_dir_test/path/subpath/*.log')
     if os.path.exists('log_dir_test/path/subpath'):
         os.rmdir('log_dir_test/path/subpath')
     if os.path.exists('log_dir_test/path'):
         os.rmdir('log_dir_test/path')
     if os.path.exists('log_dir_test'):
         os.rmdir('log_dir_test')
コード例 #3
0
 def tearDown(self):
     BaseTest.tearDown(self)
     delete_files('log_dir_test/path/subpath/*.log')
     if os.path.exists('log_dir_test/path/subpath'):
         os.rmdir('log_dir_test/path/subpath')
     if os.path.exists('log_dir_test/path'):
         os.rmdir('log_dir_test/path')
     if os.path.exists('log_dir_test'):
         os.rmdir('log_dir_test')
コード例 #4
0
 def tearDown(self):
     delete_files('*test_migration.migration')
コード例 #5
0
 def tearDown(self):
     super(VirtuosoTest, self).tearDown()
     delete_files("*.ttl")
コード例 #6
0
 def tearDown(self):
     delete_files('sample.conf')
コード例 #7
0
 def tearDown(self):
     super(MainTest, self).tearDown()
     delete_files("ontology.ttl")
     delete_files("new_triple.ttl")
コード例 #8
0
 def tearDown(self):
     delete_files('*test_migration.migration')
コード例 #9
0
 def tearDown(self):
     delete_files("sample.conf")