Changeset 11949 for main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/tests/test_schoolgrades.py
- Timestamp:
- 13 Nov 2014, 14:40:27 (10 years ago)
- Location:
- main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/tests/test_schoolgrades.py
r8057 r11949 4 4 from zope.interface.verify import verifyObject, verifyClass 5 5 from zope.schema.interfaces import ConstraintNotSatisfied 6 from waeup. kofa.interfaces import IResultEntry, IResultEntryField, IKofaUtils7 from waeup. kofa.schoolgrades import ResultEntry, ResultEntryField8 from waeup. kofa.utils.utils import KofaUtils6 from waeup.ikoba.interfaces import IResultEntry, IResultEntryField, IIkobaUtils 7 from waeup.ikoba.schoolgrades import ResultEntry, ResultEntryField 8 from waeup.ikoba.utils.utils import IkobaUtils 9 9 10 10 class ResultEntryTests(unittest.TestCase): 11 11 12 12 def setUp(self): 13 self.utils = KofaUtils()13 self.utils = IkobaUtils() 14 14 self.gsm = getGlobalSiteManager() 15 self.gsm.registerUtility(self.utils, I KofaUtils)15 self.gsm.registerUtility(self.utils, IIkobaUtils) 16 16 self.valid_subj = self.utils.EXAM_SUBJECTS_DICT.keys()[0] 17 17 self.valid_grade = self.utils.EXAM_GRADES[0][0] … … 40 40 41 41 def test_illegal_value(self): 42 # we do not accept values not stored in KofaUtils42 # we do not accept values not stored in IkobaUtils 43 43 item = ResultEntry() 44 44 self.assertRaises(
Note: See TracChangeset for help on using the changeset viewer.