mirror of
https://github.com/wassname/flask-security.git
synced 2026-06-27 16:10:11 +08:00
Compare a string (not bytes) for PY3 support
This commit is contained in:
@@ -85,7 +85,7 @@ def test_context_processors(client, app):
|
||||
client.post('/reset', data=dict(email='matt@lp.com'))
|
||||
|
||||
email = outbox[0]
|
||||
assert b'global' in email.html
|
||||
assert 'global' in email.html
|
||||
assert 'bar' in email.html
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user