diff --git a/tests/test_dummy_project_router.py b/tests/test_dummy_project_router.py index c8d9a04..61f9726 100644 --- a/tests/test_dummy_project_router.py +++ b/tests/test_dummy_project_router.py @@ -95,7 +95,7 @@ def test_arguments_route(dummy_project, application_domain): r = c.request('get', path, params=arg) assert r.status_code == 200 for key, val in arg.items(): - assert r.json()[key] == str(val) + assert json.loads(r.json()[key]) == val path = '/async_router/arguments' r = c.request('get', path) assert r.status_code == 400 @@ -105,5 +105,5 @@ def test_arguments_route(dummy_project, application_domain): r = c.request('get', path, params=arg) assert r.status_code == 200 for key, val in arg.items(): - assert r.json()[key] == str(val) + assert json.loads(r.json()[key]) == val