(self)
| 957 | self.fail("%s\n%s" % (e, getattr(e, "headers", ""))) |
| 958 | |
| 959 | def test_dotted_attribute(self): |
| 960 | # Raises an AttributeError because private methods are not allowed. |
| 961 | self.assertRaises(AttributeError, |
| 962 | xmlrpc.server.resolve_dotted_attribute, str, '__add') |
| 963 | |
| 964 | self.assertTrue(xmlrpc.server.resolve_dotted_attribute(str, 'title')) |
| 965 | # Get the test to run faster by sending a request with test_simple1. |
| 966 | # This avoids waiting for the socket timeout. |
| 967 | self.test_simple1() |
| 968 | |
| 969 | def test_allow_dotted_names_true(self): |
| 970 | # XXX also need allow_dotted_names_false test. |
nothing calls this directly
no test coverage detected