source: main/waeup.kofa/trunk/src/waeup/kofa/tests/test_schoolgrades.py @ 7811

Last change on this file since 7811 was 7811, checked in by uli, 13 years ago

Rename all non-locales stuff from sirp to kofa.

File size: 786 bytes
RevLine 
[7794]1# Tests for schoolgrades module.
2import unittest
3from zope.interface.verify import verifyObject, verifyClass
[7811]4from waeup.kofa.interfaces import IResultEntry, IResultEntryField
5from waeup.kofa.schoolgrades import ResultEntry, ResultEntryField
[7794]6
7class ResultEntryTests(unittest.TestCase):
8
9    def test_ifaces(self):
10        # make sure we implement the promised interfaces.
11        obj = ResultEntry()
12        verifyObject(IResultEntry, obj)
13        verifyClass(IResultEntry, ResultEntry)
14        return
15
16class ResultEntryFieldTests(unittest.TestCase):
17
18    def test_ifaces(self):
19        # make sure we implement the promised interfaces.
20        obj = ResultEntryField()
21        verifyObject(IResultEntryField, obj)
22        verifyClass(IResultEntryField, ResultEntryField)
23        return
Note: See TracBrowser for help on using the repository browser.