libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject libcloud git commit: Fix test failure.
Date Mon, 08 Jan 2018 12:24:12 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk 8d3e55801 -> 27ca9167c


Fix test failure.


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

Branch: refs/heads/trunk
Commit: 27ca9167caac7b406dcb2604ef52bb606c794d5c
Parents: 8d3e558
Author: Tomaz Muraus <tomaz@tomaz.me>
Authored: Mon Jan 8 13:19:46 2018 +0100
Committer: Tomaz Muraus <tomaz@tomaz.me>
Committed: Mon Jan 8 13:19:46 2018 +0100

----------------------------------------------------------------------
 libcloud/test/storage/test_base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/27ca9167/libcloud/test/storage/test_base.py
----------------------------------------------------------------------
diff --git a/libcloud/test/storage/test_base.py b/libcloud/test/storage/test_base.py
index 61bcc42..e54858f 100644
--- a/libcloud/test/storage/test_base.py
+++ b/libcloud/test/storage/test_base.py
@@ -185,7 +185,7 @@ class BaseStorageTests(unittest.TestCase):
 
         if PY2:
             self.assertFalse(hasattr(iterator, '__next__'))
-            self.assertFalse(hasattr(iterator, 'next'))
+            self.assertTrue(hasattr(iterator, 'next'))
         else:
             self.assertTrue(hasattr(iterator, '__next__'))
             self.assertFalse(hasattr(iterator, 'next'))


Mime
View raw message