libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [2/2] libcloud git commit: Fix python2.6 compat in test Closes #864
Date Mon, 26 Sep 2016 04:50:03 GMT
Fix python2.6 compat in test
Closes #864


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

Branch: refs/heads/trunk
Commit: 7695cf27007a8961be417df2605f0f88b8697e35
Parents: 2374e8a
Author: Allard Hoeve <allardhoeve@gmail.com>
Authored: Fri Sep 23 11:12:38 2016 +0200
Committer: Anthony Shaw <anthonyshaw@apache.org>
Committed: Mon Sep 26 14:49:47 2016 +1000

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/7695cf27/libcloud/test/compute/test_openstack.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_openstack.py b/libcloud/test/compute/test_openstack.py
index 86dacaf..cd5a992 100644
--- a/libcloud/test/compute/test_openstack.py
+++ b/libcloud/test/compute/test_openstack.py
@@ -1131,7 +1131,7 @@ class OpenStack_1_1_Tests(unittest.TestCase, TestCaseMixin):
 
     def test_ex_get_node_details_returns_none_if_node_does_not_exist(self):
         node = self.driver.ex_get_node_details('does-not-exist')
-        self.assertIsNone(node)
+        self.assertTrue(node is None)
 
     def test_ex_get_size(self):
         size_id = '7'


Mime
View raw message