Changeset 10505


Ignore:
Timestamp:
17 Aug 2013, 11:47:02 (11 years ago)
Author:
uli
Message:

Rename XMLRPC method check_credentials to check_student_credentials.

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  
    317317        return
    318318
    319     def test_check_credentials(self):
     319    def test_check_student_credentials(self):
    320320        # make sure we can get student infos providing valid creds
    321321        server = ServerProxy('http://mgr:mgrpw@localhost/app')
    322322        self.setup_student(self.student)
    323323        stud_id = self.student.student_id
    324         result = server.check_credentials(stud_id, 'spwd')
     324        result = server.check_student_credentials(stud_id, 'spwd')
    325325        self.assertEqual(
    326326            result, {
  • main/waeup.kofa/trunk/src/waeup/kofa/students/webservices.py

    r10502 r10505  
    190190
    191191    @grok.require('waeup.xmlrpc')
    192     def check_credentials(self, username, password):
     192    def check_student_credentials(self, username, password):
    193193        """Returns student data if username and password are valid,
    194194        None else.
Note: See TracChangeset for help on using the changeset viewer.