Changeset 6441 for main/waeup.sirp


Ignore:
Timestamp:
21 Jun 2011, 00:42:44 (13 years ago)
Author:
uli
Message:

Clean up file in tempdir lingering around after tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_batching.py

    r6282 r6441  
    120120        # Do a real import
    121121        # see local sample_container.csv file for input
    122         self.importer.doImport(
     122        num, num_warns, fin_file, fail_file = self.importer.doImport(
    123123            self.csv_file, APPS_CONTAINER_HEADER_FIELDS)
    124124        avail_containers = [x for x in self.app['applicants'].keys()]
    125125        self.assertTrue(u'CODE1' in avail_containers)
    126126        self.assertTrue(u'CODE2' in avail_containers)
     127        shutil.rmtree(os.path.dirname(fin_file))
    127128
    128129def test_suite():
Note: See TracChangeset for help on using the changeset viewer.