summaryrefslogtreecommitdiff
path: root/src/leap/base/constants.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-08-27 05:45:58 +0900
committerkali <kali@leap.se>2012-08-27 05:49:41 +0900
commit2bbe0e0a2d852a1a7261b2fa927eab6e8f41c8c3 (patch)
tree2dbd03421f32e78c54b0df4855058acd5c8ae1c8 /src/leap/base/constants.py
parent09a68fab7d39521ffb5017abaffdb4c946cd5034 (diff)
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.
Diffstat (limited to 'src/leap/base/constants.py')
-rw-r--r--src/leap/base/constants.py8
1 files changed, 8 insertions, 0 deletions
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"