diff options
author | Folker Bernitt <fbernitt@thoughtworks.com> | 2014-11-11 16:54:54 +0100 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2014-11-11 16:54:54 +0100 |
commit | 0d7313c01193b00ce3d65c4b54e6a3c6633de7ad (patch) | |
tree | 902aabf13b01511a7b0dfe6c4383df63cd1fe933 /service/test/unit/bitmask_libraries/certs_test.py | |
parent | be5230368f08fd6b77fcafbe2b5b0dd491b2d68b (diff) |
Fixup for 5c9aa9af: Actually convert to str for unicode hostnames.
Diffstat (limited to 'service/test/unit/bitmask_libraries/certs_test.py')
-rw-r--r-- | service/test/unit/bitmask_libraries/certs_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/unit/bitmask_libraries/certs_test.py b/service/test/unit/bitmask_libraries/certs_test.py index 405cc4db..8caafe7e 100644 --- a/service/test/unit/bitmask_libraries/certs_test.py +++ b/service/test/unit/bitmask_libraries/certs_test.py @@ -11,7 +11,7 @@ class CertsTest(unittest.TestCase): def test_that_which_bundle_returns_byte_string(self, mock_isfile): mock_isfile.return_value = True config = MagicMock(ca_cert_bundle=AUTO_DETECT_CA_BUNDLE, certs_home='/some/path') - provider = MagicMock(server_name='test.leap.net', config=config) + provider = MagicMock(server_name=u'test.leap.net', config=config) bundle = which_bundle(provider) |