| 611 | # the event after it has been set the first time to catch the second set. |
| 612 | def http_server(evt, numrequests, requestHandler=None, encoding=None): |
| 613 | class TestInstanceClass: |
| 614 | def div(self, x, y): |
| 615 | return x // y |
| 616 | |
| 617 | def _methodHelp(self, name): |
| 618 | if name == 'div': |
| 619 | return 'This is the div function' |
| 620 | |
| 621 | class Fixture: |
| 622 | @staticmethod |
| 623 | def getData(): |
| 624 | return '42' |
| 625 | |
| 626 | class MyXMLRPCServer(xmlrpc.server.SimpleXMLRPCServer): |
| 627 | def get_request(self): |
no outgoing calls
searching dependent graphs…