From 89c9a1e1836098e2e55a225943d29e6d6474c240 Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Thu, 18 Jun 2015 17:07:51 -0300 Subject: SMTP should be getting up properly again The latest changes on the platform caused the user agent to be unable to download the smtp client certificate, receiving a 401 in response. I added the authorization header to the call on the user agent so that is fixed. --- service/test/unit/bitmask_libraries/test_smtp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/test') diff --git a/service/test/unit/bitmask_libraries/test_smtp.py b/service/test/unit/bitmask_libraries/test_smtp.py index 5987415c..535b1e7a 100644 --- a/service/test/unit/bitmask_libraries/test_smtp.py +++ b/service/test/unit/bitmask_libraries/test_smtp.py @@ -66,7 +66,7 @@ class LeapSmtpTest(AbstractLeapTest): @patch('pixelated.bitmask_libraries.smtp.setup_smtp_gateway') def test_that_start_calls_setup_smtp_gateway(self, gateway_mock): - smtp = LeapSmtp(self.provider, self.auth.username, self.auth.session_id, self.keymanager) + smtp = LeapSmtp(self.provider, self.auth.username, self.auth.session_id, self.auth.token, self.keymanager) port = 500 smtp.local_smtp_port_number = port -- cgit v1.2.3