Guest User

Untitled

a guest
Dec 18th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. def test_login(self):
  2. tester = app.test_client(self)
  3. response = tester.post('/login', data=dict(username="test",
  4. password="test"),
  5. follow_redirects=True)
  6. self.assertIn(b'Welcome to Website', response.data)
Add Comment
Please, Sign In to add comment