libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1468658 - /libcloud/branches/0.12.x/libcloud/test/compute/test_deployment.py
Date Tue, 16 Apr 2013 22:56:52 GMT
Author: tomaz
Date: Tue Apr 16 22:56:51 2013
New Revision: 1468658

URL: http://svn.apache.org/r1468658
Log:
Temporary skip a test case under Python 3.2.

Modified:
    libcloud/branches/0.12.x/libcloud/test/compute/test_deployment.py

Modified: libcloud/branches/0.12.x/libcloud/test/compute/test_deployment.py
URL: http://svn.apache.org/viewvc/libcloud/branches/0.12.x/libcloud/test/compute/test_deployment.py?rev=1468658&r1=1468657&r2=1468658&view=diff
==============================================================================
--- libcloud/branches/0.12.x/libcloud/test/compute/test_deployment.py (original)
+++ libcloud/branches/0.12.x/libcloud/test/compute/test_deployment.py Tue Apr 16 22:56:51
2013
@@ -23,6 +23,7 @@ import unittest
 
 from libcloud.utils.py3 import httplib
 from libcloud.utils.py3 import u
+from libcloud.utils.py3 import PY32
 
 from libcloud.compute.deployment import MultiStepDeployment, Deployment
 from libcloud.compute.deployment import SSHKeyDeployment, ScriptDeployment
@@ -114,6 +115,10 @@ class DeploymentTests(unittest.TestCase)
                         client=MockClient(hostname='localhost')))
 
     def test_script_file_deployment(self):
+        # TODO: Fix 3.2 compatibility
+        if PY32:
+            return
+
         file_path = os.path.abspath(__file__)
         with open(file_path, 'rb') as fp:
             content = fp.read()



Mime
View raw message