You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2016/05/20 10:09:11 UTC
[11/12] libcloud git commit: Update affected tests.
Update affected tests.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/74cc7231
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/74cc7231
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/74cc7231
Branch: refs/heads/trunk
Commit: 74cc72311ddce0ae3f3794e85add9b20254940b1
Parents: f1594bb
Author: Tomaz Muraus <to...@tomaz.me>
Authored: Fri May 20 11:49:04 2016 +0200
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Fri May 20 11:49:04 2016 +0200
----------------------------------------------------------------------
libcloud/test/compute/test_openstack.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/74cc7231/libcloud/test/compute/test_openstack.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_openstack.py b/libcloud/test/compute/test_openstack.py
index f5941b0..1d7049e 100644
--- a/libcloud/test/compute/test_openstack.py
+++ b/libcloud/test/compute/test_openstack.py
@@ -858,7 +858,7 @@ class OpenStack_1_1_Tests(unittest.TestCase, TestCaseMixin):
self.assertEqual(len(sizes), 8, 'Wrong sizes count')
for size in sizes:
- self.assertTrue(isinstance(size.price, float),
+ self.assertTrue(size.price is None or isinstance(size.price, float),
'Wrong size price type')
self.assertTrue(isinstance(size.ram, int))
self.assertTrue(isinstance(size.vcpus, int))