diff options
author | Kali Kaneko <kali@leap.se> | 2013-08-02 11:44:24 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-08-02 11:44:24 +0200 |
commit | 89934702c57fa2314f0d6d1f82942f6f42d10f94 (patch) | |
tree | d59696d044c9e7a9eceeee084b8ef69b8bd5cd9b /src/leap/config/tests/test_providerconfig.py | |
parent | 08a6f880b64b46db5d4efdcfc48c2cddec589f67 (diff) | |
parent | c0b079cd7dffd50ededacd5b0ff73f29d2641c28 (diff) |
Merge remote-tracking branch 'ivan-github/feature/fix-test-and-pep8' into develop
Diffstat (limited to 'src/leap/config/tests/test_providerconfig.py')
-rw-r--r-- | src/leap/config/tests/test_providerconfig.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/config/tests/test_providerconfig.py b/src/leap/config/tests/test_providerconfig.py index 4e86a5f7..ff2828e6 100644 --- a/src/leap/config/tests/test_providerconfig.py +++ b/src/leap/config/tests/test_providerconfig.py @@ -28,7 +28,7 @@ import json import copy from leap.common.testing.basetest import BaseLeapTest -from leap.config.providerconfig import ProviderConfig +from leap.config.providerconfig import ProviderConfig, MissingCACert from leap.services import get_supported from mock import Mock @@ -209,7 +209,7 @@ class ProviderConfigTest(BaseLeapTest): provider_domain = 'test.provider.com' pc.get_domain = Mock(return_value=provider_domain) - with self.assertRaises(AssertionError): + with self.assertRaises(MissingCACert): pc.get_ca_cert_path() def test_provides_eip(self): |