Commit c2bb93e8 authored by Ignacio Corcuera's avatar Ignacio Corcuera
Browse files

Test Changed

parent 091104bc
......@@ -64,8 +64,8 @@ class BlueprintsTest(TestCase):
assert "@context" in resp.json
def test_headers(self):
i = ["/api/plugins/?nothing="]
j = ["/api/?i=test&"]
for i, j in product(["/api/plugins/?nothing=", "/api?i=test&"],
["headers", "inHeaders"]):
resp = self.client.get("%s" % (i))
assert "@context" in resp.json
resp = self.client.get("%s&%s=0" % (i, j))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment