diff options
author | kali <kali@leap.se> | 2012-08-28 05:30:38 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-08-28 05:30:38 +0900 |
commit | 568d52ccf33e6d7683f36f5fe2e3c32b47892216 (patch) | |
tree | 0b40f9b9a79a0cf707dbf134fea14e45a4135186 /src/leap/base/constants.py | |
parent | 4a46723219e5284bec21b9dccd6589a670babc63 (diff) |
eipchecker.fetch definition and tests
deprecated base:test_config.test_complete_file (dup functionality)
Diffstat (limited to 'src/leap/base/constants.py')
-rw-r--r-- | src/leap/base/constants.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/leap/base/constants.py b/src/leap/base/constants.py index 55308a31..991a1dfe 100644 --- a/src/leap/base/constants.py +++ b/src/leap/base/constants.py @@ -6,3 +6,19 @@ # (we expect testers to add it to their /etc/hosts DEFAULT_TEST_PROVIDER = "testprovider.example.org" + +DEFINITION_EXPECTED_PATH = "provider-definition.json" + +DEFAULT_PROVIDER_DEFINITION = { + u'api_uri': u'https://api.testprovider.example.org/', + u'api_version': u'0.1.0', + u'ca_cert': u'8aab80ae4326fd30721689db813733783fe0bd7e', + u'ca_cert_uri': u'https://testprovider.example.org/cacert.pem', + u'description': {u'en': u'This is a test provider'}, + u'display_name': {u'en': u'Test Provider'}, + u'domain': u'testprovider.example.org', + u'enrollment_policy': u'open', + u'public_key': u'cb7dbd679f911e85bc2e51bd44afd7308ee19c21', + u'serial': 1, + u'services': [u'eip'], + u'version': u'0.1.0'} |