summaryrefslogtreecommitdiff
path: root/service/test/unit/bitmask_libraries
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2016-08-30 16:58:33 -0300
committerTulio Casagrande <tcasagra@thoughtworks.com>2016-08-30 17:04:45 -0300
commitb1fe205ebb5248104b365f372a72659b2471812e (patch)
treea89e9f6ca60d401038abe9f7b37c1d10d6e7c659 /service/test/unit/bitmask_libraries
parent86db68912fc1fb0d1253a6a4b18a6f481756bc4d (diff)
[#765] Move combined certificates to the leap folder
Since we are creating the combined certificates at the beginning of the UA and using it for multiple users, it makes more sense to create it in the leap folder instead of on a temporary file This bundle will be updated on every UA start
Diffstat (limited to 'service/test/unit/bitmask_libraries')
-rw-r--r--service/test/unit/bitmask_libraries/test_keymanager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/test/unit/bitmask_libraries/test_keymanager.py b/service/test/unit/bitmask_libraries/test_keymanager.py
index 2d20e971..cdd6f3de 100644
--- a/service/test/unit/bitmask_libraries/test_keymanager.py
+++ b/service/test/unit/bitmask_libraries/test_keymanager.py
@@ -27,7 +27,7 @@ class KeymanagerTest(AbstractLeapTest):
@patch('pixelated.bitmask_libraries.keymanager.KeyManager')
def test_that_keymanager_is_created(self, keymanager_mock):
when(self.provider)._discover_nicknym_server().thenReturn('https://nicknym.some-server.test:6425/')
- self.provider.combined_ca_bundle = 'combined_ca_bundle'
+ self.provider.combined_cerfificates_path = 'combined_cerfificates_path'
self.provider.provider_api_cert = '/some/path/to/provider_ca_cert'
leap_config.gpg_binary = '/path/to/gpg'
@@ -47,7 +47,7 @@ class KeymanagerTest(AbstractLeapTest):
api_version='1',
uid=self.auth.uuid,
gpgbinary='/path/to/gpg',
- combined_ca_bundle='combined_ca_bundle')
+ combined_ca_bundle='combined_cerfificates_path')
@patch('pixelated.bitmask_libraries.keymanager.KeyManager')
def test_gen_key(self, keymanager_mock):