From 0d7313c01193b00ce3d65c4b54e6a3c6633de7ad Mon Sep 17 00:00:00 2001 From: Folker Bernitt Date: Tue, 11 Nov 2014 16:54:54 +0100 Subject: Fixup for 5c9aa9af: Actually convert to str for unicode hostnames. --- service/test/unit/bitmask_libraries/certs_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/test/unit/bitmask_libraries/certs_test.py') 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) -- cgit v1.2.3