Commits

Christian Heimes committed 00eed9d

test for monkey patching

  • Participants
  • Parent commits afcd0f1

Comments (0)

Files changed (1)

         self.assertRaises(DTDForbidden, self.parse, self.xml_dtd,
                           forbid_dtd=True)
 
+    def test_monkeypatch(self):
+        try:
+            xmlrpc.monkey_patch()
+        finally:
+            xmlrpc.unmonkey_patch()
+
 
 class TestDefusedGzip(DefusedTestCase):
     def get_gzipped(self, length):