Changeset 9283 for main/waeup.kofa/trunk/src/waeup/kofa/utils
- Timestamp:
- 3 Oct 2012, 21:36:14 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/utils/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_batching.py
r9217 r9283 392 392 393 393 def __init__(self): 394 dir_path = tempfile.mkdtemp()395 self.result = os.path.join( dir_path, 'fake.csv')394 self.dir_path = tempfile.mkdtemp() 395 self.result = os.path.join(self.dir_path, 'fake.csv') 396 396 open(self.result, 'wb').write('a fake result') 397 397 return … … 551 551 self.assertEqual(result2, ('4', 'cave_exporter', 'bob')) 552 552 self.assertEqual(result3, None) 553 return 553 shutil.rmtree(fake_job.dir_path) 554 return -
main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_logger.py
r8492 r9283 194 194 self.assertTrue('Warning 2' not in content1) 195 195 self.assertTrue(filename1 != filename2) 196 shutil.rmtree(self.dc_root2) 196 197 return 197 198
Note: See TracChangeset for help on using the changeset viewer.