Changeset 10505
- Timestamp:
- 17 Aug 2013, 11:47:02 (11 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_webservices.py
r10502 r10505 317 317 return 318 318 319 def test_check_ credentials(self):319 def test_check_student_credentials(self): 320 320 # make sure we can get student infos providing valid creds 321 321 server = ServerProxy('http://mgr:mgrpw@localhost/app') 322 322 self.setup_student(self.student) 323 323 stud_id = self.student.student_id 324 result = server.check_ credentials(stud_id, 'spwd')324 result = server.check_student_credentials(stud_id, 'spwd') 325 325 self.assertEqual( 326 326 result, { -
main/waeup.kofa/trunk/src/waeup/kofa/students/webservices.py
r10502 r10505 190 190 191 191 @grok.require('waeup.xmlrpc') 192 def check_ credentials(self, username, password):192 def check_student_credentials(self, username, password): 193 193 """Returns student data if username and password are valid, 194 194 None else.
Note: See TracChangeset for help on using the changeset viewer.