Skip to content

Commit 0d91102

Browse files
committed
fix error in login tests, thanks cqoverly
1 parent 4d48f2c commit 0d91102

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/presentations/week05.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,9 +1439,9 @@ And now the test itself (again, ``flaskr_tests.py``):
14391439
rv = self.logout()
14401440
assert 'You were logged out' in rv.data
14411441
rv = self.login('adminx', 'default')
1442-
assert 'Invalid username' in rv.data
1442+
assert 'Invalid Login' in rv.data
14431443
rv = self.login('admin', 'defaultx')
1444-
assert 'Invalid password' in rv.data
1444+
assert 'Invalid Login' in rv.data
14451445
14461446
.. class:: incremental
14471447

0 commit comments

Comments
 (0)