From 2bbe0e0a2d852a1a7261b2fa927eab6e8f41c8c3 Mon Sep 17 00:00:00 2001 From: kali Date: Mon, 27 Aug 2012 05:45:58 +0900 Subject: change default_provider_path to base.constants fix tests by introducing a (dirtish) workaround for check for openvpn keys during vpn connection initialization. noted that eipconnection constructor should be better not having that class of side-effects. --- src/leap/base/constants.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/leap/base/constants.py (limited to 'src/leap/base/constants.py') diff --git a/src/leap/base/constants.py b/src/leap/base/constants.py new file mode 100644 index 00000000..55308a31 --- /dev/null +++ b/src/leap/base/constants.py @@ -0,0 +1,8 @@ +"""constants to be used in base module""" + +# default provider placeholder +# using `example.org` we make sure that this +# is not going to be resolved during the tests phases +# (we expect testers to add it to their /etc/hosts + +DEFAULT_TEST_PROVIDER = "testprovider.example.org" -- cgit v1.2.3