BOM-848 Different Hash Values

hashlib produces different md5 hash in python3 against same values as
compared to python2.
This commit is contained in:
Ayub khan
2019-10-08 17:40:15 +05:00
parent 955bf054e0
commit b3c062be1b
4 changed files with 26 additions and 21 deletions

View File

@@ -513,7 +513,7 @@ class ModuleRenderTestCase(SharedModuleStoreTestCase, LoginEnrollmentTestCase):
decoded or otherwise.
"""
resources = ['ASCII text', u'❄ I am a special snowflake.', "❄ So am I, but I didn't tell you."]
self.assertEqual(hash_resource(resources), 'a76e27c8e80ca3efd7ce743093aa59e0')
self.assertEqual(hash_resource(resources), '50c2ae79fbce9980e0803848914b0a09')
@ddt.ddt