blob: 048ab47c99e4b003f12eac2e592cd989c8bd46e6 (
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 == 200
|