From 14873cee59748cd9dc04196e5e72e868b32a85f2 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Mon, 23 Nov 2015 11:51:34 -0300 Subject: Removing test, since this scenario doesnt exists anymore --Issue #512 --- service/test/integration/test_drafts.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'service') diff --git a/service/test/integration/test_drafts.py b/service/test/integration/test_drafts.py index d0505d75..a2c71af4 100644 --- a/service/test/integration/test_drafts.py +++ b/service/test/integration/test_drafts.py @@ -94,14 +94,3 @@ class DraftsTest(SoledadTestBase): self.assertEquals(1, len(drafts)) self.assertEquals('First draft edited', drafts[0].subject) - - @defer.inlineCallbacks - def test_respond_unprocessable_entity_if_draft_to_remove_doesnt_exist(self): - draft = MailBuilder().with_subject('First draft').build_json() - yield self.put_mail(draft)[0] - - updated_draft = MailBuilder().with_subject('First draft edited').with_ident('NOTFOUND').build_json() - response, request = self.put_mail(updated_draft) - yield response - - self.assertEquals(422, request.code) -- cgit v1.2.3