Verify mock is called in the test

This commit is contained in:
Rebecca Law
2016-02-24 09:09:50 +00:00
parent 2905d11fe4
commit 658a53422b
2 changed files with 2 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ def test_should_show_overview_page(
assert 'Manage team' in response.get_data(as_text=True)
assert response.status_code == 200
mock_get_users_by_service.assert_called_once_with(service_id='55555')
def test_should_show_page_for_one_user(