Changeset 10041 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 21 Mar 2013, 10:57:48 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_webservices.py
r10040 r10041 109 109 self.assertEqual(result, 110 110 {'100|CRS1': 'Course 1', '100|COURSE1': 'Unnamed Course'}) 111 # Also matric_number ... 112 result = server.get_courses_by_session('234') 113 self.assertEqual(result, 114 {'100|CRS1': 'Course 1', '100|COURSE1': 'Unnamed Course'}) 115 # ... or reg_number can be used. 116 result = server.get_courses_by_session('123') 117 self.assertEqual(result, 118 {'100|CRS1': 'Course 1', '100|COURSE1': 'Unnamed Course'}) 119 result = server.get_courses_by_session('Nonsense') 120 self.assertEqual(result, None) 111 121 REQUEST_XML="""\ 112 122 <?xml version="1.0"?>
Note: See TracChangeset for help on using the changeset viewer.