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 2015/10/19 14:24:07 UTC
[3/4] libcloud git commit: Add a test which asserts that the size
price is available.
Add a test which asserts that the size price is available.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/0ca76513
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/0ca76513
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/0ca76513
Branch: refs/heads/trunk
Commit: 0ca765136c767b631272e620e27333b8ca100827
Parents: 70bd1aa
Author: Tomaz Muraus <to...@apache.org>
Authored: Mon Oct 19 14:16:35 2015 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Mon Oct 19 14:16:35 2015 +0200
----------------------------------------------------------------------
libcloud/test/compute/test_softlayer.py | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/0ca76513/libcloud/test/compute/test_softlayer.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_softlayer.py b/libcloud/test/compute/test_softlayer.py
index 8f4536b..d1e74fa 100644
--- a/libcloud/test/compute/test_softlayer.py
+++ b/libcloud/test/compute/test_softlayer.py
@@ -77,6 +77,8 @@ class SoftLayerTests(unittest.TestCase):
def test_list_sizes(self):
sizes = self.driver.list_sizes()
self.assertEqual(len(sizes), 13)
+ for size in sizes:
+ self.assertTrue(size.price > 0.0)
def test_create_node(self):
node = self.driver.create_node(name="libcloud-testing",