From 8c7f9a8286d3d1b5172af2fdfb74d1f73756790b Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 18 Oct 2019 09:46:39 +0100 Subject: [PATCH] Add a simple test for the history page --- tests/app/main/views/test_history.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/app/main/views/test_history.py diff --git a/tests/app/main/views/test_history.py b/tests/app/main/views/test_history.py new file mode 100644 index 000000000..21461d960 --- /dev/null +++ b/tests/app/main/views/test_history.py @@ -0,0 +1,8 @@ +from tests.conftest import SERVICE_ONE_ID + + +def test_history( + client_request, + mock_get_service_history, +): + client_request.get('main.history', service_id=SERVICE_ONE_ID)