Ignore:
Timestamp:
21 Aug 2013, 10:59:26 (11 years ago)
Author:
Henrik Bettermann
Message:

Rename get_moodle_data method.

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

    r10508 r10516  
    332332        return
    333333
    334     def test_get_moodle_data(self):
    335         server = ServerProxy('http://mgr:mgrpw@localhost/app')
    336         self.setup_student(self.student)
    337         result = server.get_moodle_data(self.student.student_id)
     334    def test_get_student_moodle_data(self):
     335        server = ServerProxy('http://mgr:mgrpw@localhost/app')
     336        self.setup_student(self.student)
     337        result = server.get_student_moodle_data(self.student.student_id)
    338338        self.assertEqual(result,
    339339            {'lastname': 'Tester', 'email': 'aa@aa.ng', 'firstname': 'Anna'})
     
    341341<?xml version="1.0"?>
    342342<methodCall>
    343 <methodName>get_moodle_data</methodName>
     343<methodName>get_student_moodle_data</methodName>
    344344<params>
    345345<param>
  • main/waeup.kofa/trunk/src/waeup/kofa/students/webservices.py

    r10508 r10516  
    215215
    216216    @grok.require('waeup.xmlrpc')
    217     def get_moodle_data(self, identifier=None):
     217    def get_student_moodle_data(self, identifier=None):
    218218        """Data which will be used for web service requests to Moodle.
    219219
Note: See TracChangeset for help on using the changeset viewer.