Don't include reason in default HttpMock headers
diff --git a/tests/test_http.py b/tests/test_http.py
index b4bf007..a62169b 100644
--- a/tests/test_http.py
+++ b/tests/test_http.py
@@ -999,6 +999,13 @@
self.assertEqual(1, len(responses))
+class TestHttpMock(unittest.TestCase):
+ def test_default_response_headers(self):
+ http = HttpMock(datafile('zoo.json'))
+ resp, content = http.request("http://example.com")
+ self.assertEqual(resp.status, 200)
+
+
if __name__ == '__main__':
logging.getLogger().setLevel(logging.ERROR)
unittest.main()