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

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

Rename all non-locales stuff from sirp to kofa.

File size: 786 bytes
Line 
1# Tests for schoolgrades module.
2import unittest
3from zope.interface.verify import verifyObject, verifyClass
4from waeup.kofa.interfaces import IResultEntry, IResultEntryField
5from waeup.kofa.schoolgrades import ResultEntry, ResultEntryField
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.