Changeset 11668 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 26 May 2014, 16:27:50 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_webservices.py
r11666 r11668 395 395 'fingerprints': {}, 396 396 'img': None, 397 'img_name': None, 397 398 }) 399 400 def test_get_student_fingerprints_passport(self): 401 # we get a photograph of the student if avail. 402 server = ServerProxy('http://mgr:mgrpw@localhost/app') 403 self.setup_student(self.student) 404 self.create_passport_img(self.student) 405 result = server.get_student_fingerprints(self.student.student_id) 406 self.assertTrue( 407 isinstance(result['img'], xmlrpclib.Binary)) 408 self.assertEqual(result['img_name'], 'passport_K1000000.jpg') 398 409 399 410 def test_get_student_fingerprints_block_unauthorized(self):
Note: See TracChangeset for help on using the changeset viewer.