Author: tomaz
Date: Sun May 13 03:46:26 2012
New Revision: 1337763
URL: http://svn.apache.org/viewvc?rev=1337763&view=rev
Log:
Fix the syntax so it works with Python 2.5.
Modified:
libcloud/trunk/test/compute/test_brightbox.py
Modified: libcloud/trunk/test/compute/test_brightbox.py
URL:
http://svn.apache.org/viewvc/libcloud/trunk/test/compute/test_brightbox.py?rev=1337763&r1=1337762&r2=1337763&view=diff
==============================================================================
--- libcloud/trunk/test/compute/test_brightbox.py (original)
+++ libcloud/trunk/test/compute/test_brightbox.py Sun May 13 03:46:26 2012
@@ -55,7 +55,8 @@ class BrightboxTest(unittest.TestCase, T
self.assertRaises(Exception, self.driver.list_locations)
def test_other_host(self):
- self.driver = BrightboxNodeDriver(*BRIGHTBOX_PARAMS,
host='api.gbt.brightbox.com')
+ kwargs = {'host': 'api.gbt.brightbox.com'}
+ self.driver = BrightboxNodeDriver(*BRIGHTBOX_PARAMS, **kwargs)
locations = self.driver.list_locations()
self.assertEqual(len(locations), 0)