diff options
author | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-03-27 11:14:14 +0100 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-03-30 11:10:23 +0200 |
commit | 2ec7bcfd32c2151e2e42ae7b19631dcc4018f93e (patch) | |
tree | f0567d6381d18c24bc33ce8b3587c5c2db6017ef /service/test/unit/bitmask_libraries/test_abstract_leap.py | |
parent | 9404478d8e29be008e2e2c72e0a51dc7649f4d31 (diff) |
Splitting certificate validation into provider and bootstrap certificate.
- Issue #333
- Now a different certificate is used to communicate with the provider's
HTTPS website than for all other connections, e.g. to the api
Diffstat (limited to 'service/test/unit/bitmask_libraries/test_abstract_leap.py')
-rw-r--r-- | service/test/unit/bitmask_libraries/test_abstract_leap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/unit/bitmask_libraries/test_abstract_leap.py b/service/test/unit/bitmask_libraries/test_abstract_leap.py index 2634f330..c11c7ea9 100644 --- a/service/test/unit/bitmask_libraries/test_abstract_leap.py +++ b/service/test/unit/bitmask_libraries/test_abstract_leap.py @@ -28,7 +28,7 @@ class AbstractLeapTest(unittest.TestCase): leap_home = os.path.join(tempfile.mkdtemp(), 'leap') - config = Mock(leap_home=leap_home, ca_cert_bundle='/some/path/to/ca_cert', gpg_binary='/path/to/gpg') + config = Mock(leap_home=leap_home, bootstrap_ca_cert_bundle='/some/path/to/ca_cert', ca_cert_bundle='/some/path/to/provider_ca_cert', gpg_binary='/path/to/gpg') provider = Mock(config=config, server_name='some-server.test', domain='some-server.test', api_uri='https://api.some-server.test:4430', api_version='1') soledad = Mock() |