libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [1/3] libcloud git commit: Update tests for ec2 driver to match new list_sizes result.
Date Mon, 28 Dec 2015 10:24:10 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk 286cff194 -> 60b5661c0


Update tests for ec2 driver to match new list_sizes result.


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

Branch: refs/heads/trunk
Commit: 9f85955a0ec0e9a1af1a0dd0587b21ffa3478cc2
Parents: a9822d4
Author: anthony-shaw <anthony.p.shaw@gmail.com>
Authored: Mon Dec 28 21:09:34 2015 +1100
Committer: anthony-shaw <anthony.p.shaw@gmail.com>
Committed: Mon Dec 28 21:09:34 2015 +1100

----------------------------------------------------------------------
 libcloud/test/compute/test_ec2.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/9f85955a/libcloud/test/compute/test_ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_ec2.py b/libcloud/test/compute/test_ec2.py
index 79b5dc5..b800066 100644
--- a/libcloud/test/compute/test_ec2.py
+++ b/libcloud/test/compute/test_ec2.py
@@ -415,20 +415,20 @@ class EC2Tests(LibcloudTestCase, TestCaseMixin):
             self.assertTrue('m2.4xlarge' in ids)
 
             if region_name == 'us-east-1':
-                self.assertEqual(len(sizes), 52)
+                self.assertEqual(len(sizes), 53)
                 self.assertTrue('cg1.4xlarge' in ids)
                 self.assertTrue('cc2.8xlarge' in ids)
                 self.assertTrue('cr1.8xlarge' in ids)
             elif region_name == 'us-west-1':
-                self.assertEqual(len(sizes), 44)
+                self.assertEqual(len(sizes), 45)
             if region_name == 'us-west-2':
                 self.assertEqual(len(sizes), 41)
             elif region_name == 'ap-southeast-1':
-                self.assertEqual(len(sizes), 42)
+                self.assertEqual(len(sizes), 43)
             elif region_name == 'ap-southeast-2':
                 self.assertEqual(len(sizes), 47)
             elif region_name == 'eu-west-1':
-                self.assertEqual(len(sizes), 50)
+                self.assertEqual(len(sizes), 51)
 
         self.driver.region_name = region_old
 


Mime
View raw message