diff options
author | Bruno Wagner Goncalves <bwagner@thoughtworks.com> | 2014-08-20 17:17:39 -0300 |
---|---|---|
committer | Bruno Wagner Goncalves <bwagner@thoughtworks.com> | 2014-08-20 18:27:01 -0300 |
commit | f06094f9cad86617a31ea2e05accf8d3f63ebb24 (patch) | |
tree | 035bb65623040c4ac03a8621c5f5bcd8cf1f4151 /service/test/bitmask_libraries/smtp_test.py | |
parent | 31289cb156540a95dfe51737d9fd4e1a7393f2f2 (diff) |
setup.py test, build and develop are now working
Diffstat (limited to 'service/test/bitmask_libraries/smtp_test.py')
-rw-r--r-- | service/test/bitmask_libraries/smtp_test.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/service/test/bitmask_libraries/smtp_test.py b/service/test/bitmask_libraries/smtp_test.py index 4aa2d01d..84f7766e 100644 --- a/service/test/bitmask_libraries/smtp_test.py +++ b/service/test/bitmask_libraries/smtp_test.py @@ -1,7 +1,7 @@ import os from mock import MagicMock, patch from abstract_leap_test import AbstractLeapTest -from app.bitmask_libraries.smtp import LeapSmtp +from pixelated.bitmask_libraries.smtp import LeapSmtp from httmock import all_requests, HTTMock, urlmatch @@ -47,7 +47,7 @@ class LeapSmtpTest(AbstractLeapTest): def _client_cert_path(self): return os.path.join(self.leap_home, 'providers', 'some-server.test', 'keys', 'client', 'smtp.pem') - @patch('app.bitmask_libraries.smtp.setup_smtp_gateway') + @patch('pixelated.bitmask_libraries.smtp.setup_smtp_gateway') def test_that_start_calls_setup_smtp_gateway(self, gateway_mock): smtp = LeapSmtp(self.provider, self.keymanager, self.srp_session) port = 500 @@ -65,7 +65,7 @@ class LeapSmtpTest(AbstractLeapTest): with HTTMock(not_found_mock): smtp.stop() - @patch('app.bitmask_libraries.smtp.setup_smtp_gateway') + @patch('pixelated.bitmask_libraries.smtp.setup_smtp_gateway') def test_that_running_smtp_sevice_is_stopped(self, gateway_mock): smtp = LeapSmtp(self.provider, self.keymanager, self.srp_session) |