Ignore:
Timestamp:
22 Aug 2010, 17:56:46 (14 years ago)
Author:
uli
Message:

Bring coverage for these tests to 100%.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/jambtables/tests/test_jambtables.py

    r5328 r5465  
    9292        self.assertEqual(0, len(list(table)))
    9393
     94    def test_clear_broken_path(self):
     95        table = JAMBDataTable()
     96        table.importFromCSV(self.datafile)
     97        path = table._datafile_path
     98        table._datafile_path = 'not-existent-path'
     99        table.clear()
     100       
    94101    def test_import_datetime(self):
    95102        table = JAMBDataTable()
Note: See TracChangeset for help on using the changeset viewer.