Changeset 10516 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 21 Aug 2013, 10:59:26 (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
r10508 r10516 332 332 return 333 333 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) 338 338 self.assertEqual(result, 339 339 {'lastname': 'Tester', 'email': 'aa@aa.ng', 'firstname': 'Anna'}) … … 341 341 <?xml version="1.0"?> 342 342 <methodCall> 343 <methodName>get_ moodle_data</methodName>343 <methodName>get_student_moodle_data</methodName> 344 344 <params> 345 345 <param> -
main/waeup.kofa/trunk/src/waeup/kofa/students/webservices.py
r10508 r10516 215 215 216 216 @grok.require('waeup.xmlrpc') 217 def get_ moodle_data(self, identifier=None):217 def get_student_moodle_data(self, identifier=None): 218 218 """Data which will be used for web service requests to Moodle. 219 219
Note: See TracChangeset for help on using the changeset viewer.