We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2ee457 commit a31c1efCopy full SHA for a31c1ef
tests/webservices_test.py
@@ -116,10 +116,11 @@ def test_400_error(self):
116
'exception object contains expected code'
117
)
118
119
- def test_no_body_error(self):
120
- httpretty.register_uri(httpretty.GET,
121
- self.base_uri + 'country/' + '1.2.3.7',
122
- status=400)
+# XXX - this test does not currently work with HTTPretty
+# def test_no_body_error(self):
+# httpretty.register_uri(httpretty.GET,
+# self.base_uri + 'country/' + '1.2.3.7',
123
+# status=400)
124
# with self.assertRaisesRegex(GeoIP2HTTPError,
125
# 'Received a 400 error for .* with no body'):
126
# self.client.country('1.2.3.7')
0 commit comments