Skip to content

Commit

Permalink
Fixed test_tasks_list
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Collins committed Apr 22, 2020
1 parent 689d3c3 commit 4240fbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_server_default_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ def task_func():

with thing_client as c:
response = c.get("/tasks").json
assert response[0].get("id") == str(task_obj.id)
ids = [task.get("id") for task in response]
assert str(task_obj.id) in ids


def test_task_representation(thing_client):
Expand Down

0 comments on commit 4240fbf

Please sign in to comment.