diff options
author | kali <kali@leap.se> | 2012-11-14 00:33:05 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-11-14 00:33:05 +0900 |
commit | d24c7328fa845737dbb83d512e4b3f287634c4cc (patch) | |
tree | ae0409bd742ce3a6f994ae9bb31fc5ab7225f1c6 /src/leap/eip/tests/data.py | |
parent | d2dcf5a1060d60c451570349a6a06ad102d6924c (diff) |
make tests pass + pep8
They were breaking mainly because I did not bother to have a pass
over them to change the PROVIDER settings from the branding case.
All good now, although much testing is yet needed and some refactor
could be used.
long live green tests!
Diffstat (limited to 'src/leap/eip/tests/data.py')
-rw-r--r-- | src/leap/eip/tests/data.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/leap/eip/tests/data.py b/src/leap/eip/tests/data.py index f1d3b0bc..cadf720e 100644 --- a/src/leap/eip/tests/data.py +++ b/src/leap/eip/tests/data.py @@ -1,11 +1,12 @@ from __future__ import unicode_literals import os -from leap import __branding +#from leap import __branding # sample data used in tests -PROVIDER = __branding.get('provider_domain') +#PROVIDER = __branding.get('provider_domain') +PROVIDER = "testprovider.example.org" EIP_SAMPLE_CONFIG = { "provider": "%s" % PROVIDER, @@ -15,7 +16,7 @@ EIP_SAMPLE_CONFIG = { "openvpn_ca_certificate": os.path.expanduser( "~/.config/leap/providers/" "%s/" - "keys/ca/testprovider-ca-cert.pem" % PROVIDER), + "keys/ca/cacert.pem" % PROVIDER), "openvpn_client_certificate": os.path.expanduser( "~/.config/leap/providers/" "%s/" |