diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2015-11-23 11:51:34 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2015-11-23 17:25:39 -0300 |
commit | 14873cee59748cd9dc04196e5e72e868b32a85f2 (patch) | |
tree | 6cfd125b2d1aa2abb7c858269a61e437b57b90a2 /service | |
parent | 0900c714facb04bd7c990905a3578a703f4e9988 (diff) |
Removing test, since this scenario doesnt exists anymore
--Issue #512
Diffstat (limited to 'service')
-rw-r--r-- | service/test/integration/test_drafts.py | 11 |
1 files changed, 0 insertions, 11 deletions
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) |