From b1fe205ebb5248104b365f372a72659b2471812e Mon Sep 17 00:00:00 2001 From: Tulio Casagrande Date: Tue, 30 Aug 2016 16:58:33 -0300 Subject: [#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 --- service/test/unit/bitmask_libraries/test_keymanager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'service/test/unit/bitmask_libraries') 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): -- cgit v1.2.3