feat: added tests for manifest.json
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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
|
||||
Reference in New Issue
Block a user