Compare a string (not bytes) for PY3 support

This commit is contained in:
Matt Wright
2014-09-17 11:39:19 -04:00
parent 679cee7969
commit 76ad77a233
+1 -1
View File
@@ -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