summaryrefslogtreecommitdiff
path: root/service/test/unit/bitmask_libraries
diff options
context:
space:
mode:
authorBruno Wagner <bwgpro@gmail.com>2015-06-18 17:07:51 -0300
committerBruno Wagner <bwgpro@gmail.com>2015-06-18 17:07:51 -0300
commit89c9a1e1836098e2e55a225943d29e6d6474c240 (patch)
tree504a30363891ed568965f96fee5347a849530c50 /service/test/unit/bitmask_libraries
parentf5480053276dd211fd182da7ad6574b7636a8b7d (diff)
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.
Diffstat (limited to 'service/test/unit/bitmask_libraries')
-rw-r--r--service/test/unit/bitmask_libraries/test_smtp.py2
1 files changed, 1 insertions, 1 deletions
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