diff options
author | kali <kali@leap.se> | 2012-09-20 02:29:19 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-09-20 02:40:41 +0900 |
commit | ecd8696e6e009826523b62a508cdf2202eaa2411 (patch) | |
tree | 22044157cab43d1ac31b95ab4b7710b3f7fc14a1 /src/leap/base/tests/test_providers.py | |
parent | 6a9523b0e83aca75bbfde5a8939ee612c5a78f9a (diff) |
tests pass after branding changes
Diffstat (limited to 'src/leap/base/tests/test_providers.py')
-rw-r--r-- | src/leap/base/tests/test_providers.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/leap/base/tests/test_providers.py b/src/leap/base/tests/test_providers.py index 23f63a95..9e0ff90c 100644 --- a/src/leap/base/tests/test_providers.py +++ b/src/leap/base/tests/test_providers.py @@ -6,9 +6,11 @@ except ImportError: import os +from leap import __branding as BRANDING from leap.testing.basetest import BaseLeapTest from leap.base import providers + EXPECTED_DEFAULT_CONFIG = { "api_version": "0.1.0", "description": "test provider", @@ -45,8 +47,8 @@ class TestLeapProviderDefinition(BaseLeapTest): os.path.join( self.home, '.config', 'leap', 'providers', - 'testprovider.example.org', - 'provider-definition.json')) + '%s' % BRANDING.get('provider_domain'), + 'provider.json')) with self.assertRaises(AttributeError): self.definition.slug = 23 |