summaryrefslogtreecommitdiff
path: root/service/test/unit/controllers/mails_controller_test.py
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/unit/controllers/mails_controller_test.py
parentbd903ece01d9a1f85f3459f6495ad342bb64500e (diff)
Issue #135: Removed dead code.
Diffstat (limited to 'service/test/unit/controllers/mails_controller_test.py')
-rw-r--r--service/test/unit/controllers/mails_controller_test.py7
1 files changed, 0 insertions, 7 deletions
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