You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2012/10/31 19:58:21 UTC

svn commit: r1404299 - /libcloud/trunk/libcloud/test/compute/test_vcloud.py

Author: tomaz
Date: Wed Oct 31 18:58:20 2012
New Revision: 1404299

URL: http://svn.apache.org/viewvc?rev=1404299&view=rev
Log:
Make it work with 2.5.

Modified:
    libcloud/trunk/libcloud/test/compute/test_vcloud.py

Modified: libcloud/trunk/libcloud/test/compute/test_vcloud.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/test/compute/test_vcloud.py?rev=1404299&r1=1404298&r2=1404299&view=diff
==============================================================================
--- libcloud/trunk/libcloud/test/compute/test_vcloud.py (original)
+++ libcloud/trunk/libcloud/test/compute/test_vcloud.py Wed Oct 31 18:58:20 2012
@@ -337,9 +337,9 @@ class VCloud_1_5_MockHttp(MockHttp, unit
     fixtures = ComputeFileFixtures('vcloud_1_5')
 
     def request(self, method, url, body=None, headers=None, raw=False):
-        self.assertTrue(url.startswith('/api/'), '"{0}" is invalid. Needs to ' \
+        self.assertTrue(url.startswith('/api/'), ('"%s" is invalid. Needs to ' \
                         'start with "/api". The passed URL should be just ' \
-                        'the path, not full URL.'.format(url))
+                        'the path, not full URL.', url))
         super(VCloud_1_5_MockHttp, self).request(method, url, body, headers,
                                                  raw)