summaryrefslogtreecommitdiff
path: root/src/leap/eip/tests/test_config.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-09-06 04:18:27 +0900
committerkali <kali@leap.se>2012-09-06 04:18:27 +0900
commitfc8a54a40645412e9c738723e54159bfda40cfde (patch)
treef8edf58ebdef82a0229739f62fb0d9fbcb633a2a /src/leap/eip/tests/test_config.py
parent275c7c20ec08283b50dce0aa753f48ada2ffe2c7 (diff)
openvpn management socket is a temp path on each run
Diffstat (limited to 'src/leap/eip/tests/test_config.py')
-rw-r--r--src/leap/eip/tests/test_config.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/leap/eip/tests/test_config.py b/src/leap/eip/tests/test_config.py
index c73281cc..60300770 100644
--- a/src/leap/eip/tests/test_config.py
+++ b/src/leap/eip/tests/test_config.py
@@ -71,7 +71,7 @@ class EIPConfigTest(BaseLeapTest):
args.append('--management')
#XXX hey!
#get platform switches here!
- args.append('/tmp/.eip.sock')
+ args.append('/tmp/test.socket')
args.append('unix')
# certs
@@ -114,7 +114,8 @@ class EIPConfigTest(BaseLeapTest):
print 'path =', path
print 'vpnbin = ', vpnbin
command, args = eipconfig.build_ovpn_command(
- do_pkexec_check=False, vpnbin=vpnbin)
+ do_pkexec_check=False, vpnbin=vpnbin,
+ socket_path="/tmp/test.socket")
self.assertEqual(command, self.home + '/bin/openvpn')
self.assertEqual(args, self.get_expected_openvpn_args())