You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by pq...@apache.org on 2010/01/15 02:46:11 UTC
svn commit: r899515 - /incubator/libcloud/trunk/test/test_rimuhosting.py
Author: pquerna
Date: Fri Jan 15 01:46:11 2010
New Revision: 899515
URL: http://svn.apache.org/viewvc?rev=899515&view=rev
Log:
Update rimudriver test cases for changes to the rimuhosting API in regards to node pricing
Modified:
incubator/libcloud/trunk/test/test_rimuhosting.py
Modified: incubator/libcloud/trunk/test/test_rimuhosting.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/test/test_rimuhosting.py?rev=899515&r1=899514&r2=899515&view=diff
==============================================================================
--- incubator/libcloud/trunk/test/test_rimuhosting.py (original)
+++ incubator/libcloud/trunk/test/test_rimuhosting.py Fri Jan 15 01:46:11 2010
@@ -42,7 +42,7 @@
self.assertEqual(size.ram,950)
self.assertEqual(size.disk,20)
self.assertEqual(size.bandwidth,75)
- self.assertEqual(size.price,89.95)
+ self.assertEqual(size.price,32.54)
def test_list_images(self):
images = self.driver.list_images()
@@ -109,7 +109,10 @@
, "pricing_plan_infos" :
[{ "pricing_plan_code" : "MiroVPSLowContention"
, "pricing_plan_description" : "MiroVPS Semi-Dedicated Server (Dallas)"
- , "monthly_recurring_fee_usd" : 89.95
+ , "monthly_recurring_fee" : 32.54
+ , "monthly_recurring_amt" : { "amt" : 35.0
+ , "currency" : "CUR_AUD"
+ ,"amt_usd" : 32.54}
, "minimum_memory_mb" : 950
, "minimum_disk_gb" : 20
, "minimum_data_transfer_allowance_gb" : 75