1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-25 01:22:28 +00:00

Test Changed

This commit is contained in:
NachoCP 2016-02-02 11:09:56 +01:00
parent ab2c1f73e4
commit 81cbe5ea54

View File

@ -64,7 +64,8 @@ class BlueprintsTest(TestCase):
assert "@context" in resp.json assert "@context" in resp.json
def test_headers(self): def test_headers(self):
for i, j in product(["/api/plugins/?nothing=", "/api/?i=test&"]): i = ["/api/plugins/?nothing="]
j = ["/api/?i=test&"]:
resp = self.client.get("%s" % (i)) resp = self.client.get("%s" % (i))
assert "@context" in resp.json assert "@context" in resp.json
resp = self.client.get("%s&%s=0" % (i, j)) resp = self.client.get("%s&%s=0" % (i, j))