diff options
author | Bruno Wagner <bwgpro@gmail.com> | 2015-06-08 18:54:27 -0300 |
---|---|---|
committer | Bruno Wagner <bwgpro@gmail.com> | 2015-06-08 18:54:31 -0300 |
commit | 3e902a70b94d31458c159c641720d38152bbb267 (patch) | |
tree | 914c4d2f7b8ef701052e6c3067d31c40846d841f /service/test/unit/bitmask_libraries | |
parent | f303f0c6d6cc214e3acc989c75f586fc4191ec6f (diff) |
Moved initialization, fingerprint and cert inside LeapCertificate class
Diffstat (limited to 'service/test/unit/bitmask_libraries')
-rw-r--r-- | service/test/unit/bitmask_libraries/test_provider.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/unit/bitmask_libraries/test_provider.py b/service/test/unit/bitmask_libraries/test_provider.py index 5b5c2034..49627565 100644 --- a/service/test/unit/bitmask_libraries/test_provider.py +++ b/service/test/unit/bitmask_libraries/test_provider.py @@ -219,7 +219,7 @@ class LeapProviderTest(AbstractLeapTest): session = MagicMock(wraps=requests.session()) session_func = MagicMock(return_value=session) - with patch('pixelated.bitmask_libraries.provider.which_bootstrap_cert_fingerprint', return_value='some fingerprint'): + with patch('pixelated.bitmask_libraries.certs.LeapCertificate.LEAP_FINGERPRINT', return_value='some fingerprint'): with patch('pixelated.bitmask_libraries.provider.requests.session', new=session_func): with patch('pixelated.bitmask_libraries.certs.LeapCertificate.auto_detect_bootstrap_ca_bundle', return_value=False): with HTTMock(provider_json_mock, ca_cert_mock, not_found_mock): |