1
Fork 0

fix unit test

This commit is contained in:
Motiejus Jakštys 2024-01-17 09:00:44 +02:00
parent c61408beab
commit 35f1d8a4fb
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ class SignupViewTest(TestCase):
def test_index(self): def test_index(self):
resp = self.client.get(reverse("index")) resp = self.client.get(reverse("index"))
self.assertEqual(resp.status_code, 200) self.assertEqual(resp.status_code, 200)
self.assertContains(resp, "11sync is a privacy-respecting way") self.assertContains(resp, "Hosted Syncthing")
def test_ok_signup(self): def test_ok_signup(self):
resp = self.client.post(reverse("index"), {"email": "foo@example.com"}, resp = self.client.post(reverse("index"), {"email": "foo@example.com"},