From 1f8cefdf001dfdb593cb46e825d2aff75ecb8cbb Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 3 May 2018 22:00:44 +0200 Subject: [PATCH] API: tests fix --- mpwo_api/mpwo_api/tests/test_activities.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mpwo_api/mpwo_api/tests/test_activities.py b/mpwo_api/mpwo_api/tests/test_activities.py index 15d6a411..6ba8618c 100644 --- a/mpwo_api/mpwo_api/tests/test_activities.py +++ b/mpwo_api/mpwo_api/tests/test_activities.py @@ -73,8 +73,8 @@ def test_get_all_activities(app): assert 1 == data['data']['activities'][1]['user_id'] assert 1 == data['data']['activities'][0]['sport_id'] assert 2 == data['data']['activities'][1]['sport_id'] - assert 3600 == data['data']['activities'][0]['duration'] - assert 1024 == data['data']['activities'][1]['duration'] + assert '1:00:00' == data['data']['activities'][0]['duration'] + assert '0:17:04' == data['data']['activities'][1]['duration'] def test_add_an_activity(app):