diff options
Diffstat (limited to 'instruments/tests/test_views.py')
-rw-r--r-- | instruments/tests/test_views.py | 10 |
1 files changed, 10 insertions, 0 deletions
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 |