Ignore:
Timestamp:
7 Mar 2011, 01:09:17 (14 years ago)
Author:
uli
Message:

Add test case for JAMBData root.

File:
1 edited

Legend:

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

    r5744 r5797  
    4444    JAMBDataPlugin, JAMBDataRoot,
    4545    )
     46from waeup.sirp.applicants.jambtables.interfaces import (
     47    IJAMBDataRoot,
     48    )
    4649
    4750class FakeSite(dict):
     
    6871        return
    6972
     73class JAMBDataRootTestCase(unittest.TestCase):
     74
     75    def test_interfaces(self):
     76        # Make sure the correct interfaces are implemented.
     77        self.assertTrue(
     78            verifyClass(IJAMBDataRoot, JAMBDataRoot)
     79            )
     80        self.assertTrue(
     81            verifyObject(IJAMBDataRoot, JAMBDataRoot())
     82            )
     83        return
    7084
    7185class JAMBDataPluginTestCase(unittest.TestCase):
     
    165179    suite = unittest.TestSuite()
    166180    for testcase in [
    167         JAMBDataPluginTestCase,
     181        JAMBDataRootTestCase, JAMBDataPluginTestCase,
    168182        ]:
    169183        suite.addTest(unittest.TestLoader().loadTestsFromTestCase(
Note: See TracChangeset for help on using the changeset viewer.