fix test
modified: make_post_sell/tests/test_functional.py
This commit is contained in:
parent
7053c57c41
commit
14708b3dda
1 changed files with 3 additions and 1 deletions
|
|
@ -74,7 +74,9 @@ class UnauthenticatedFunctionalTests(FunctionalTests):
|
|||
def test_new_shop_redirects(self):
|
||||
redirect_res = self.testapp.get("/s/new", status=302)
|
||||
res = redirect_res.follow()
|
||||
self.assertIn(b"You must log in to access that area.", res.body)
|
||||
self.assertIn(
|
||||
b"To create a new shop, please verify your email address below.", res.body
|
||||
)
|
||||
|
||||
def test_user_settings_redirects(self):
|
||||
redirect_res = self.testapp.get("/u/settings", status=302)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue