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