Skip to content
Snippets Groups Projects
Commit 1ffb75a2 authored by Alice Heaton's avatar Alice Heaton :speech_balloon:
Browse files

Make test more readable

parent e138887e
No related branches found
No related tags found
1 merge request!36Edit item frontend
......@@ -281,8 +281,9 @@ def test_correct_item_is_fetched_during_request(generic_item):
kwargs={'item_id': 103},
)
(args, _) = get_item.call_args
assert get_item.called
assert get_item.call_args[0][0] == 103
assert args[0] == 103
def test_displaying_existing_item_returns_template_response(generic_item):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment