From bbdc85fbc53a914f9375aae0a9f3730a940ded95 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 14 Oct 2024 17:46:36 +0100 Subject: We have a basic SOP list view - added the new url file - styled similar to EP list for organisation - uses a spanned row in the table for a description or summary of the document - TODO: update the model to use the summary row - TODO: add more metadata --- instruments/tests/test_views.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 instruments/tests/test_views.py (limited to 'instruments/tests/test_views.py') diff --git a/instruments/tests/test_views.py b/instruments/tests/test_views.py new file mode 100644 index 0000000..048ab47 --- /dev/null +++ b/instruments/tests/test_views.py @@ -0,0 +1,10 @@ +import pytest +from django.urls import reverse + +pytestmark = pytest.mark.django_db + + +def test_view_url_exists_at_desired_location(client): + url = reverse("instruments:sop-list") + response = client.get(url) + assert response.status_code == 200 -- cgit v1.2.3