diff options
author | Bruno Wagner Goncalves <bwagner@thoughtworks.com> | 2014-08-18 19:14:55 -0300 |
---|---|---|
committer | Bruno Wagner Goncalves <bwagner@thoughtworks.com> | 2014-08-18 19:15:05 -0300 |
commit | 2c6fe6e4cca9c39287c0c9a88079a60078711e97 (patch) | |
tree | 9cd73392e3fc5646dca87bbefc758c9c975f4558 /service/test/adapter | |
parent | 3cc37ad518706c7abe61d3d3cd7b91798901cc5b (diff) |
Fixed pep8 errors on service
Diffstat (limited to 'service/test/adapter')
-rw-r--r-- | service/test/adapter/test_helper.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/service/test/adapter/test_helper.py b/service/test/adapter/test_helper.py index 7b935e7f..3731dfe8 100644 --- a/service/test/adapter/test_helper.py +++ b/service/test/adapter/test_helper.py @@ -9,9 +9,10 @@ LEAP_FLAGS = ['\\Seen', '\\Recent', 'List'] + def leap_mail(uid=0, extra_flags=[], headers={'date': str(datetime.now())}): - flags = LEAP_FLAGS + extra_flags - return Mock(getUID=Mock(return_value=uid), - getFlags=Mock(return_value=flags), - bdoc=Mock(content={'raw': 'test'}), - hdoc=Mock(content={'headers': headers})) + flags = LEAP_FLAGS + extra_flags + return Mock(getUID=Mock(return_value=uid), + getFlags=Mock(return_value=flags), + bdoc=Mock(content={'raw': 'test'}), + hdoc=Mock(content={'headers': headers})) |