summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests.py b/tests.py
index 6637782..e637657 100644
--- a/tests.py
+++ b/tests.py
@@ -449,6 +449,12 @@ class TestXmlRpc(DefusedTestCase):
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):