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 2013/04/17 00:56:52 UTC
svn commit: r1468658 -
/libcloud/branches/0.12.x/libcloud/test/compute/test_deployment.py
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()