(self)
| 906 | self.fail("%s\n%s" % (e, getattr(e, "headers", ""))) |
| 907 | |
| 908 | def test_introspection4(self): |
| 909 | # the SimpleXMLRPCServer doesn't support signatures, but |
| 910 | # at least check that we can try making the call |
| 911 | try: |
| 912 | p = xmlrpclib.ServerProxy(URL) |
| 913 | divsig = p.system.methodSignature('div') |
| 914 | self.assertEqual(divsig, 'signatures not supported') |
| 915 | except (xmlrpclib.ProtocolError, OSError) as e: |
| 916 | # ignore failures due to non-blocking socket 'unavailable' errors |
| 917 | if not is_unavailable_exception(e): |
| 918 | # protocol error; provide additional information in test output |
| 919 | self.fail("%s\n%s" % (e, getattr(e, "headers", ""))) |
| 920 | |
| 921 | def test_multicall(self): |
| 922 | try: |
nothing calls this directly
no test coverage detected