mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 01:23:48 +01:00
Fix UI test assertion
This commit is contained in:
parent
3c4085eb0b
commit
6c99732673
@ -62,7 +62,7 @@ def test_register_flow(client):
|
||||
assert User.query.filter_by(username=username).first() is None
|
||||
|
||||
rv = register(client, username, "Test User", "password", "test@example.com", "19")
|
||||
assert b"Check your email address to verify your account" in rv.data
|
||||
assert b"We've sent an email to the address you specified" in rv.data
|
||||
|
||||
user = User.query.filter_by(username=username).first()
|
||||
assert user is not None
|
||||
|
Loading…
Reference in New Issue
Block a user