@ -87,7 +87,7 @@ class ConnectionManager(object):
:return:
If the header parameters exist, return True.
"""
return self.get_param_headers(key) is not None
return self.param_headers(key) is not None
def add_param_headers(self, key, value):
""" Add a single parameter inside the header.
@ -97,7 +97,7 @@ class TestConnection(unittest.TestCase):
with HTTMock(response_post_fail):
resp = self._conn.raw_post("/known_path",
{'field': 'value'})
self.assertEqual(resp.content, str(["Start can't be blank"]).encode("utf-8"))
self.assertEqual(resp.status_code, 404)