diff options
author | kaeff <hi@kaeff.net> | 2015-08-19 19:39:26 +0200 |
---|---|---|
committer | kaeff <hi@kaeff.net> | 2015-08-19 19:39:26 +0200 |
commit | d8ccf73da1c1dffc5c45fbea6f54c54036d65901 (patch) | |
tree | 8c64741ee0a8a84b136d01e8fa9427f991da182a /service | |
parent | e92431a4d7b71418f354fa9c3a6d466e2d113fa9 (diff) |
Remove poor person's debugging prints
Diffstat (limited to 'service')
4 files changed, 0 insertions, 6 deletions
diff --git a/service/pixelated/adapter/services/mail_service.py b/service/pixelated/adapter/services/mail_service.py index b3f58448..9b7d20e8 100644 --- a/service/pixelated/adapter/services/mail_service.py +++ b/service/pixelated/adapter/services/mail_service.py @@ -115,7 +115,6 @@ class MailService(object): @defer.inlineCallbacks def delete_mail(self, mail_id): mail = yield self.mail(mail_id) - print 'go mail %s' % mail if mail.mailbox_name.upper() == u'TRASH': yield self.mail_store.delete_mail(mail_id) else: diff --git a/service/pixelated/resources/mails_resource.py b/service/pixelated/resources/mails_resource.py index 9658bd82..e18fe2c3 100644 --- a/service/pixelated/resources/mails_resource.py +++ b/service/pixelated/resources/mails_resource.py @@ -168,7 +168,6 @@ class MailsResource(Resource): defer_response(self._draft_service.update_draft(draft_id, _mail)) deferred_check.addCallback(return422otherwise) else: - print '\nCreating draft\n' defer_response(self._draft_service.create_draft(_mail)) return server.NOT_DONE_YET diff --git a/service/test/integration/test_drafts.py b/service/test/integration/test_drafts.py index bc314c04..d0505d75 100644 --- a/service/test/integration/test_drafts.py +++ b/service/test/integration/test_drafts.py @@ -77,11 +77,8 @@ class DraftsTest(SoledadTestBase): @defer.inlineCallbacks def test_put_creates_a_draft_if_it_does_not_exist(self): mail = MailBuilder().with_subject('A new draft').build_json() - print '\nAdding mail\n' yield self.put_mail(mail)[0] - print '\nAdded mail\n' mails = yield self.get_mails_by_tag('drafts') - print '\ngot mails by tag\n' self.assertEquals('A new draft', mails[0].subject) diff --git a/service/test/unit/adapter/mailstore/test_leap_mailstore.py b/service/test/unit/adapter/mailstore/test_leap_mailstore.py index a28731e3..c2ad2d5a 100644 --- a/service/test/unit/adapter/mailstore/test_leap_mailstore.py +++ b/service/test/unit/adapter/mailstore/test_leap_mailstore.py @@ -300,7 +300,6 @@ class TestLeapMailStore(TestCase): attachment = MIMEApplication('pretend to be binary attachment data') attachment.add_header('Content-Disposition', 'attachment', filename='filename.txt') input_mail.attach(attachment) - print input_mail.as_string() mocked_message = self._add_create_mail_mocks_to_soledad(input_mail) store = LeapMailStore(self.soledad) |