1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 08:12:27 +00:00

Test Changed

This commit is contained in:
NachoCP 2016-02-02 11:27:56 +01:00
parent 091104bc7d
commit c2bb93e86c

View File

@ -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))