Changeset 10051 for main/waeup.aaue/trunk/src
- Timestamp:
- 28 Mar 2013, 17:03:36 (12 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r9905 r10051 387 387 self.assertTrue('<option value="COURSE3">' in self.browser.contents) 388 388 return 389 390 def test_maxCredits(self): 391 dummy = object() 392 utils = getUtility(IStudentsUtils) 393 self.assertEqual(utils.maxCredits(dummy), 48) 394 return -
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r9905 r10051 131 131 return None, payment 132 132 133 def maxCredits(self, studylevel): 134 """Return maximum credits. 135 136 """ 137 return 48 138 133 139 # AAUE prefix 134 140 STUDENT_ID_PREFIX = u'E'
Note: See TracChangeset for help on using the changeset viewer.