Changeset 14637 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 20 Mar 2017, 09:35:50 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_webservices.py
r12110 r14637 435 435 self.assertEqual(result, True) 436 436 stored_file = getUtility(IExtFileStore).getFileByContext( 437 self.student, attr=" 1.fpm")437 self.student, attr="finger1.fpm") 438 438 self.assertEqual(stored_file.read(), 'FP1faked_fpm') 439 439 … … 449 449 self.assertEqual(result, True) 450 450 stored_file1 = getUtility(IExtFileStore).getFileByContext( 451 self.student, attr=" 1.fpm")451 self.student, attr="finger1.fpm") 452 452 stored_file2 = getUtility(IExtFileStore).getFileByContext( 453 self.student, attr=" 3.fpm")453 self.student, attr="finger3.fpm") 454 454 self.assertEqual(stored_file1.read(), 'FP1faked_fpm1') 455 455 self.assertEqual(stored_file2.read(), 'FP1faked_fpm2') … … 490 490 server = ServerProxy('http://mgr:mgrpw@localhost/app') 491 491 self.setup_student(self.student) 492 self.create_fpm_file(self.student, ' 1')492 self.create_fpm_file(self.student, 'finger1') 493 493 result = server.get_student_fingerprints(self.student.student_id) 494 494 self.assertTrue('1' in result['fingerprints'].keys())
Note: See TracChangeset for help on using the changeset viewer.