summaryrefslogtreecommitdiff
path: root/service/test
diff options
context:
space:
mode:
authorLisa Junger <ljunger@thoughtworks.com>2015-01-06 11:45:04 +0100
committerLisa Junger <ljunger@thoughtworks.com>2015-01-06 11:47:16 +0100
commit28c885bf47b9249f95aeb875f5f558911b2193c2 (patch)
treec898a74fe64fb57bf4248b681ef196966d6289c9 /service/test
parentbd903ece01d9a1f85f3459f6495ad342bb64500e (diff)
Issue #135: Removed dead code.
Diffstat (limited to 'service/test')
-rw-r--r--service/test/unit/adapter/mail_service_test.py8
-rw-r--r--service/test/unit/controllers/mails_controller_test.py7
2 files changed, 0 insertions, 15 deletions
diff --git a/service/test/unit/adapter/mail_service_test.py b/service/test/unit/adapter/mail_service_test.py
index 6f80c043..fca6e79b 100644
--- a/service/test/unit/adapter/mail_service_test.py
+++ b/service/test/unit/adapter/mail_service_test.py
@@ -49,11 +49,3 @@ class TestMailService(unittest.TestCase):
self.mail_service.delete_mail(1)
verify(self.mailboxes).move_to_trash(1)
-
- def test_reply_all_template(self):
- mail = mock()
- when(self.mail_service).mail(1).thenReturn(mail)
-
- self.mail_service.reply_all_template(1)
-
- verify(mail).to_reply_template()
diff --git a/service/test/unit/controllers/mails_controller_test.py b/service/test/unit/controllers/mails_controller_test.py
index c9c2c7cf..8108bc19 100644
--- a/service/test/unit/controllers/mails_controller_test.py
+++ b/service/test/unit/controllers/mails_controller_test.py
@@ -116,13 +116,6 @@ class TestMailsController(unittest.TestCase):
verify(self.mail_service).delete_permanent(1)
- def test_reply_all_returns_template(self):
- when(self.mail_service).reply_all_template(1).thenReturn(self.input_mail.json)
-
- self.mails_controller.reply_all_template(self.dummy_request, 1)
-
- verify(self.mail_service).reply_all_template(1)
-
def _successfuly_send_mail(self, ident, mail):
sent_mail = mock()
sent_mail.as_dict = lambda: self.input_mail.json