Changeset 9283 for main/waeup.kofa/trunk/src/waeup/kofa/hostels
- Timestamp:
- 3 Oct 2012, 21:36:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/hostels/tests.py
r9202 r9283 434 434 return 435 435 436 def tearDown(self): 437 super(ExportTests, self).tearDown() 438 clearSite() 439 shutil.rmtree(os.path.dirname(self.outfile)) 440 436 441 class HostelProcessorTest(HostelsFullSetup): 437 442 … … 441 446 self.processor = HostelProcessor() 442 447 self.workdir = tempfile.mkdtemp() 443 self.csv_file = os.path.join(self.workdir, 'sample_ student_data.csv')448 self.csv_file = os.path.join(self.workdir, 'sample_hostel_data.csv') 444 449 open(self.csv_file, 'wb').write(HOSTEL_SAMPLE_DATA) 445 450 num, num_warns, fin_file, fail_file = self.processor.doImport( … … 462 467 in logcontent) 463 468 shutil.rmtree(os.path.dirname(fin_file)) 464 return 469 shutil.rmtree(self.workdir) 470 return
Note: See TracChangeset for help on using the changeset viewer.