Changeset 9669 for main/waeup.kofa/trunk/src
- Timestamp:
- 17 Nov 2012, 12:36:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_reports.py
r9663 r9669 31 31 self.assertEqual(obj_from_str.mode, 'Undergraduate Full-Time') 32 32 self.assertEqual(obj_from_str.author, 'Bob') 33 return 34 35 def test_str(self): 36 # StudentsReport provide a nice string representation 37 obj = StudentsReport(2010, 'Undergraduate Full-Time', author='Bob') 38 self.assertEqual( 39 obj.__str__()[:65], 40 'Students Report ' 41 '[session=2010/2011, mode=Undergraduate Full-Time]') 33 42 return 34 43
Note: See TracChangeset for help on using the changeset viewer.