summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-01-17 22:43:56 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-01-17 22:43:56 +0100
commit6afc82bc2c9b6170d70c00bf4a5d4515a72820b9 (patch)
tree6df165699a8af870b412a72b8c6f953c8cad570a
parent26fd9c1005952b26c447d122bff27306b2a283eb (diff)
downloadpython-gamelocker-6afc82bc2c9b6170d70c00bf4a5d4515a72820b9.tar.gz
python-gamelocker-6afc82bc2c9b6170d70c00bf4a5d4515a72820b9.zip
status now returns jsonapi format
-rw-r--r--tests/gamelocker_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gamelocker_test.py b/tests/gamelocker_test.py
index 92ab2b2..34facb6 100644
--- a/tests/gamelocker_test.py
+++ b/tests/gamelocker_test.py
@@ -17,7 +17,7 @@ class TestGamelocker:
assert api._req("foobar")
assert type(api._req("status")) is dict
- assert "status" in api.status()
+ assert api.status()["data"]["attributes"]["version"]
def test_map(self):
assert gamelocker.datatypes.modulemap()["match"] is gamelocker.datatypes.Match