fix tests

This commit is contained in:
koalasat 2024-09-17 17:00:12 +02:00
parent 71bda8b8c0
commit 88054a09bb
No known key found for this signature in database
GPG Key ID: 2F7F61C6146AB157

View File

@ -10,10 +10,10 @@ class FrontendFetchTest(TestCase):
path = reverse("basic")
response = self.client.get(path)
self.assertContains(response, "<html>")
self.assertContains(response, "main.js")
self.assertContains(response, "-basic")
def test_pro_frontend_url_content(self):
path = reverse("pro")
response = self.client.get(path)
self.assertContains(response, "<html>")
self.assertContains(response, "pro.js")
self.assertContains(response, "-pro")