Files
shoppy/web/tests/test_manifest.py
T

14 lines
331 B
Python

from django.test import TestCase
from django.urls import reverse
from web.models import WebSettings
class TestManifest(TestCase):
def setUp(self):
WebSettings.objects.create()
def test_index_view(self):
response = self.client.get(reverse("web:manifest_json"))
assert response.status_code == 200