summaryrefslogtreecommitdiffstats
path: root/instruments/tests/test_views.py
blob: e1573a2cdfdcf1aa67aa0368dbf6582fc3d06251 (plain) (blame)
1
2
3
4
5
6
7
8
9
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 == 302