1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-09-15 11:02:23 +00:00

Added CLI and refactored argument parsing

This commit is contained in:
J. Fernando Sánchez
2016-03-02 05:07:48 +01:00
parent a50f026701
commit 03eb38c12d
11 changed files with 207 additions and 136 deletions

View File

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