summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/leap/bitmask/vpn/process.py2
-rw-r--r--tests/functional/features/environment.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/process.py b/src/leap/bitmask/vpn/process.py
index a2b384e9..d35857c7 100644
--- a/src/leap/bitmask/vpn/process.py
+++ b/src/leap/bitmask/vpn/process.py
@@ -90,6 +90,8 @@ class _VPNProcess(protocol.ProcessProtocol):
self._port = socket_port
if socket_port == 'unix':
+ folder = os.path.split(self._host)[0]
+ assert os.path.isfile(folder)
self._management_endpoint = clientFromString(
reactor, b"unix:path=%s" % socket_host)
else:
diff --git a/tests/functional/features/environment.py b/tests/functional/features/environment.py
index c92a39d0..be7404c0 100644
--- a/tests/functional/features/environment.py
+++ b/tests/functional/features/environment.py
@@ -108,7 +108,7 @@ def _save_config(context, step):
shutil.copytree(get_path_prefix(), filepath)
except OSError:
pass
- print('copied config to: file://%s' % filepath)
+ print('copied config folder to: file://%s' % filepath)
def _artifact_path(step, filename=''):