Author: tomaz
Date: Wed Mar 21 00:26:26 2012
New Revision: 1303233
URL: http://svn.apache.org/viewvc?rev=1303233&view=rev
Log:
Fix the test so it also works with Python 2.5.
Modified:
libcloud/trunk/CHANGES
libcloud/trunk/test/dns/test_rackspace.py
Modified: libcloud/trunk/CHANGES
URL:
http://svn.apache.org/viewvc/libcloud/trunk/CHANGES?rev=1303233&r1=1303232&r2=1303233&view=diff
==============================================================================
--- libcloud/trunk/CHANGES (original)
+++ libcloud/trunk/CHANGES Wed Mar 21 00:26:26 2012
@@ -69,7 +69,7 @@ Changes with Apache Libcloud in developm
the Rackspace driver.
[Adam Pickeral]
- - Add an extension method (ex_balancer_attach_members) for attaching
+ - Add an extension method (ex_balancer_attach_members) for attaching
multiple members to a load balancer in the Rackspace driver.
LIBCLOUD-152
[Adam Pickeral]
Modified: libcloud/trunk/test/dns/test_rackspace.py
URL:
http://svn.apache.org/viewvc/libcloud/trunk/test/dns/test_rackspace.py?rev=1303233&r1=1303232&r2=1303233&view=diff
==============================================================================
--- libcloud/trunk/test/dns/test_rackspace.py (original)
+++ libcloud/trunk/test/dns/test_rackspace.py Wed Mar 21 00:26:26 2012
@@ -66,9 +66,8 @@ class RackspaceUSTests(unittest.TestCase
driver.connection._auth_version)
def test_gets_auth_2_0_endpoint(self):
- driver = self.klass(*DNS_PARAMS_RACKSPACE,
- ex_force_auth_version='2.0_password'
- )
+ kwargs = {'ex_force_auth_version': '2.0_password'}
+ driver = self.klass(*DNS_PARAMS_RACKSPACE, **kwargs)
driver.connection._populate_hosts_and_request_paths()
self.assertEquals('https://dns.api.rackspacecloud.com/v1.0/11111',