cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject git commit: updated refs/heads/master to 1c9cd9d
Date Fri, 07 Jun 2013 09:20:35 GMT
Updated Branches:
  refs/heads/master 4f07679d4 -> 1c9cd9d36


CLOUDSTACK-2884: str object interpreted as index

Casting to an int for almostEqual comparison

Signed-off-by: Prasanna Santhanam <tsp@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/1c9cd9d3
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1c9cd9d3
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1c9cd9d3

Branch: refs/heads/master
Commit: 1c9cd9d36077331a7b25d19e18ae73918e5662f6
Parents: 4f07679
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Fri Jun 7 14:49:00 2013 +0530
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Fri Jun 7 14:49:00 2013 +0530

----------------------------------------------------------------------
 test/integration/smoke/test_service_offerings.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1c9cd9d3/test/integration/smoke/test_service_offerings.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_service_offerings.py b/test/integration/smoke/test_service_offerings.py
index a56e34d..0213c04 100644
--- a/test/integration/smoke/test_service_offerings.py
+++ b/test/integration/smoke/test_service_offerings.py
@@ -92,7 +92,7 @@ class Services:
                             "displaytext": "Small Instance",
                             "cpunumber": 1,
                             "cpuspeed": 100,
-                            "memory": 256,
+                            "memory": 128,
                         },
                     "medium":
                         {
@@ -433,7 +433,7 @@ class TestServiceOfferings(cloudstackTestCase):
         )
         self.assertAlmostEqual(
             int(total_mem) / 1024, # In MBs
-            self.small_offering.memory,
+            int(self.small_offering.memory),
             "Check Memory(kb) for small offering"
         )
         return


Mime
View raw message