You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mc...@apache.org on 2013/06/12 20:22:42 UTC

[33/50] [abbrv] git commit: updated refs/heads/object_store to 18aeef3

CLOUDSTACK-2884: str object interpreted as index

Casting to an int for almostEqual comparison

Signed-off-by: Prasanna Santhanam <ts...@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/object_store
Commit: 1c9cd9d36077331a7b25d19e18ae73918e5662f6
Parents: 4f07679
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Fri Jun 7 14:49:00 2013 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Fri Jun 7 14:49:00 2013 +0530

----------------------------------------------------------------------
 test/integration/smoke/test_service_offerings.py | 4 ++--
 1 file 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