summaryrefslogtreecommitdiff
path: root/service/test/unit/bitmask_libraries
diff options
context:
space:
mode:
authorFolker Bernitt <fbernitt@thoughtworks.com>2015-09-21 09:29:20 +0200
committerFolker Bernitt <fbernitt@thoughtworks.com>2015-09-21 09:31:12 +0200
commite80918a4e55db5c78a3517e02cf3c144b43ad1b0 (patch)
tree9d265c870c8c115240f06e5653ee4fe7c9b5112e /service/test/unit/bitmask_libraries
parent118a74b183807d5ed2cbda639aee5c2a4e5f8712 (diff)
Add more description on fingerprint missmatch error
- See 660e0d9de
Diffstat (limited to 'service/test/unit/bitmask_libraries')
-rw-r--r--service/test/unit/bitmask_libraries/test_provider.py2
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 72251f0d..df851203 100644
--- a/service/test/unit/bitmask_libraries/test_provider.py
+++ b/service/test/unit/bitmask_libraries/test_provider.py
@@ -188,7 +188,7 @@ class LeapProviderTest(AbstractLeapTest):
provider.fetch_valid_certificate()
def test_throw_exception_for_invalid_certificate(self):
- expected_exception_message = 'Certificate fingerprints don\'t match [0123456789012345678901234567890123456789012345678901234567890123] vs [06e2300bdbc118c290eda0dc977c24080718f4eeca68c8b0ad431872a2baa22d]'
+ expected_exception_message = 'Certificate fingerprints don\'t match! Expected [0123456789012345678901234567890123456789012345678901234567890123] but got [06e2300bdbc118c290eda0dc977c24080718f4eeca68c8b0ad431872a2baa22d]'
with HTTMock(provider_json_invalid_fingerprint_mock, ca_cert_mock, not_found_mock):
provider = LeapProvider('some-provider.test', self.config)