From 3cb7a567ea0f0623fb77bd19b652d89625189f67 Mon Sep 17 00:00:00 2001 From: Konstantin Lopuhin Date: Mon, 15 Feb 2016 19:14:41 +0300 Subject: [PATCH] py3 fix for TestS3FilesStore: checksum is a native string --- tests/test_pipeline_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_pipeline_files.py b/tests/test_pipeline_files.py index 6ea47086f..e445d9989 100644 --- a/tests/test_pipeline_files.py +++ b/tests/test_pipeline_files.py @@ -198,7 +198,7 @@ class TestS3FilesStore(unittest.TestCase): s = yield store.stat_file(path, info=None) self.assertIn('last_modified', s) self.assertIn('checksum', s) - self.assertEqual(s['checksum'], b'3187896a9657a28163abb31667df64c8') + self.assertEqual(s['checksum'], '3187896a9657a28163abb31667df64c8') u = urlparse(uri) content = get_s3_content_and_delete(u.hostname, u.path[1:]) self.assertEqual(content, data)