From 16450dada24dec2819c6067768af54b0d9b91402 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Tue, 16 Sep 2014 15:15:13 -0500 Subject: [PATCH] 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. --- mediagoblin/tests/test_edit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)