From 6afc82bc2c9b6170d70c00bf4a5d4515a72820b9 Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 17 Jan 2017 22:43:56 +0100 Subject: status now returns jsonapi format --- tests/gamelocker_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.3.1