libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [1/2] libcloud git commit: Fix build failure.
Date Mon, 08 Jan 2018 11:30:28 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk 484e02a63 -> 81fb465f9


Fix build failure.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/187eef2d
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/187eef2d
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/187eef2d

Branch: refs/heads/trunk
Commit: 187eef2db9182a380bd427c6f160b55b0b672878
Parents: 484e02a
Author: Tomaz Muraus <tomaz@tomaz.me>
Authored: Mon Jan 8 12:20:25 2018 +0100
Committer: Tomaz Muraus <tomaz@tomaz.me>
Committed: Mon Jan 8 12:20:25 2018 +0100

----------------------------------------------------------------------
 libcloud/test/storage/test_base.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/187eef2d/libcloud/test/storage/test_base.py
----------------------------------------------------------------------
diff --git a/libcloud/test/storage/test_base.py b/libcloud/test/storage/test_base.py
index 87a6954..f957742 100644
--- a/libcloud/test/storage/test_base.py
+++ b/libcloud/test/storage/test_base.py
@@ -165,7 +165,7 @@ class BaseStorageTests(unittest.TestCase):
                                              stream=iterator)
 
         hasher = hashlib.md5()
-        hasher.update('a' * size)
+        hasher.update(b('a') * size)
         expected_hash = hasher.hexdigest()
 
         self.assertEqual(result['data_hash'], expected_hash)
@@ -196,7 +196,7 @@ class BaseStorageTests(unittest.TestCase):
                                              stream=iterator)
 
         hasher = hashlib.md5()
-        hasher.update('b' * size)
+        hasher.update(b('b') * size)
         expected_hash = hasher.hexdigest()
 
         self.assertEqual(result['data_hash'], expected_hash)


Mime
View raw message