diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2014-09-16 15:15:13 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2014-09-16 15:15:13 -0500 |
commit | 16450dada24dec2819c6067768af54b0d9b91402 (patch) | |
tree | 43bcb25ef32d69f6ad63e56c6c5c0afdc58a0c0d /mediagoblin/tests/test_edit.py | |
parent | 7893d43a8f7d3e42b21491444156c4a5308e211d (diff) | |
download | mediagoblin-16450dada24dec2819c6067768af54b0d9b91402.tar.lz mediagoblin-16450dada24dec2819c6067768af54b0d9b91402.tar.xz mediagoblin-16450dada24dec2819c6067768af54b0d9b91402.zip |
Fix error check in test_edit.py for python 3
This isn't the nicest of checks... we should probably be checking the
actual form passed into the context. But for now, it's a fix.
Diffstat (limited to 'mediagoblin/tests/test_edit.py')
-rw-r--r-- | mediagoblin/tests/test_edit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/tests/test_edit.py b/mediagoblin/tests/test_edit.py index 54f43d68..e34ca27a 100644 --- a/mediagoblin/tests/test_edit.py +++ b/mediagoblin/tests/test_edit.py @@ -250,5 +250,5 @@ class TestMetaDataEdit: old_metadata = new_metadata new_metadata = media_entry.media_metadata assert new_metadata == old_metadata - assert ("u'On the worst day' is not a 'date-time'" in + assert (b"'On the worst day' is not a 'date-time'" in response.body) |