fix unit test
This commit is contained in:
parent
c61408beab
commit
35f1d8a4fb
@ -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"},
|
||||||
|
Loading…
Reference in New Issue
Block a user