This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 014f2d7b450760c5736817412815cb0bfa2b6bdc
Author: Tomaz Muraus <[email protected]>
AuthorDate: Sat Dec 19 12:17:19 2020 +0100

    Fix cross test pollution.
---
 libcloud/test/test_connection.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libcloud/test/test_connection.py b/libcloud/test/test_connection.py
index 780c1aa..f7b61b3 100644
--- a/libcloud/test/test_connection.py
+++ b/libcloud/test/test_connection.py
@@ -45,11 +45,15 @@ class BaseConnectionClassTestCase(unittest.TestCase):
         elif 'http_proxy' in os.environ:
             del os.environ['http_proxy']
 
+        libcloud.common.base.ALLOW_PATH_DOUBLE_SLASHES = False
+
     @classmethod
     def tearDownClass(cls):
         if 'http_proxy' in os.environ:
             del os.environ['http_proxy']
 
+        libcloud.common.base.ALLOW_PATH_DOUBLE_SLASHES = False
+
     def test_parse_proxy_url(self):
         conn = LibcloudBaseConnection()
 

Reply via email to