aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_edit.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2014-09-16 15:15:13 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2014-09-16 15:15:13 -0500
commit16450dada24dec2819c6067768af54b0d9b91402 (patch)
tree43bcb25ef32d69f6ad63e56c6c5c0afdc58a0c0d /mediagoblin/tests/test_edit.py
parent7893d43a8f7d3e42b21491444156c4a5308e211d (diff)
downloadmediagoblin-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.py2
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&#39;On the worst day&#39; is not a &#39;date-time&#39;" in
+ assert (b"&#39;On the worst day&#39; is not a &#39;date-time&#39;" in
response.body)