Changeset 10477 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 10 Aug 2013, 01:10:04 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_webservices.py
r10044 r10477 318 318 self.assertEqual(xmlout, RESPONSE_XML) 319 319 return 320 321 def test_check_credentials(self): 322 # make sure we can get student infos providing valid creds 323 server = ServerProxy('http://mgr:mgrpw@localhost/app') 324 self.setup_student(self.student) 325 stud_id = self.student.student_id 326 result = server.check_credentials('mykey', stud_id, 'spwd') 327 self.assertEqual( 328 result, { 329 'description': 'Anna Tester', 330 'email': 'aa@aa.ng', 331 'id': 'K1000000', 332 'type': 'student'} 333 ) 334 return
Note: See TracChangeset for help on using the changeset viewer.