summaryrefslogtreecommitdiff
path: root/service/test/bitmask_libraries
diff options
context:
space:
mode:
Diffstat (limited to 'service/test/bitmask_libraries')
-rw-r--r--service/test/bitmask_libraries/smtp_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/bitmask_libraries/smtp_test.py b/service/test/bitmask_libraries/smtp_test.py
index 283d882e..2bb3dcab 100644
--- a/service/test/bitmask_libraries/smtp_test.py
+++ b/service/test/bitmask_libraries/smtp_test.py
@@ -66,7 +66,7 @@ class LeapSmtpTest(AbstractLeapTest):
def test_that_start_calls_setup_smtp_gateway(self, gateway_mock):
smtp = LeapSmtp(self.provider, self.keymanager, self.srp_session)
port = 500
- smtp._twisted_port = port
+ smtp.TWISTED_PORT = port
gateway_mock.return_value = (None, None)
with HTTMock(ca_cert_mock, not_found_mock):
smtp.start()