Changeset 6602 for main/waeup.sirp/trunk


Ignore:
Timestamp:
12 Aug 2011, 16:51:40 (13 years ago)
Author:
uli
Message:

Add test. Container coverage at 100%.

File:
1 edited

Legend:

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

    r5885 r6602  
    4444        return
    4545
     46    def test_base(self):
     47        # We cannot call the fundamental methods of a base in that case
     48        container = ApplicantsContainer()
     49        self.assertRaises(
     50            NotImplementedError, container.archive)
     51        self.assertRaises(
     52            NotImplementedError, container.clear)
     53
    4654def suite():
    4755    suite = unittest.TestSuite()
Note: See TracChangeset for help on using the changeset viewer.