Changeset 6564 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 27 Jul 2011, 12:05:31 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/university/tests/test_faculty.py
r6563 r6564 16 16 return 17 17 18 def test_longtitle _no_terms(self):19 # Make sure we get a longtitle also if no terms are available18 def test_longtitle(self): 19 # Make sure we get a longtitle 20 20 fac = Faculty() 21 21 self.assertEqual(fac.longtitle(), 22 22 u'Faculty of Unnamed Faculty (NA)') 23 24 def test_longtitle_no_terms(self): 25 # Make sure we get a longtitle also if no term for the title 26 # prefix is available 27 fac = Faculty() 28 fac.title_prefix = 'Studio for' # Not a valid prefix 29 self.assertEqual(fac.longtitle(), 30 u'Unnamed Faculty (NA)')
Note: See TracChangeset for help on using the changeset viewer.