diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2014-09-29 09:55:53 -0300 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2014-09-29 09:59:19 -0300 |
commit | 34df7f4dde3f481ff9c50dbb2338507ab70b04dd (patch) | |
tree | 860bb7e22d051ef609978319d73a59acdba14279 /service/test/user_agent_test.py | |
parent | 363196b8f860fb2ed487a07c5b7c36aa6cec9268 (diff) |
fixing tests and pep8
Diffstat (limited to 'service/test/user_agent_test.py')
-rw-r--r-- | service/test/user_agent_test.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/service/test/user_agent_test.py b/service/test/user_agent_test.py index d5432cbd..d0cfc5a9 100644 --- a/service/test/user_agent_test.py +++ b/service/test/user_agent_test.py @@ -47,7 +47,7 @@ class UserAgentTest(unittest.TestCase): self.app.post('/mails', data='{"ident":1}', content_type="application/json") - verify(self.mail_service).send_draft(self.input_mail) + verify(self.mail_service).send(1, self.input_mail) def test_update_draft(self): self.input_mail = self.draft() @@ -58,7 +58,5 @@ class UserAgentTest(unittest.TestCase): verify(self.mail_service).update_draft(1, self.input_mail) - - def draft(self): return test_helper.input_mail() |