diff options
author | Anike Arni <aarni@thoughtworks.com> | 2016-12-14 17:26:01 -0200 |
---|---|---|
committer | Anike Arni <aarni@thoughtworks.com> | 2016-12-14 17:26:01 -0200 |
commit | c5a0e774303fca4fee7e6e7c391cca2d621346fe (patch) | |
tree | d3d512667174afe9a2ca859f9d6db3cb8c8ef73f /service/test/functional/features/steps | |
parent | 92e3f76033d9bca2c91a56fa66b0e12a17d81fc4 (diff) |
[#845] Fixes pep8 line spacing
with @thaissiqueira
Diffstat (limited to 'service/test/functional/features/steps')
-rw-r--r-- | service/test/functional/features/steps/data_setup.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/service/test/functional/features/steps/data_setup.py b/service/test/functional/features/steps/data_setup.py index 16d2395b..3a10345c 100644 --- a/service/test/functional/features/steps/data_setup.py +++ b/service/test/functional/features/steps/data_setup.py @@ -31,6 +31,7 @@ def add_mail_impl(context): context.last_subject = subject + @given('I have a mail for {username} in my inbox') def add_mail_to_user_inbox(context, username): subject = 'Hi! This the subject %s' % uuid4() @@ -42,6 +43,7 @@ def add_mail_to_user_inbox(context, username): context.last_subject = subject + @given(u'Account for user {username} exists') def add_account(context, username): add_multi_user_account(context, username) @@ -51,10 +53,12 @@ def add_account(context, username): def load_mail_into_soledad(context, mail): return context.single_user_client.mail_store.add_mail('INBOX', mail.raw) + @wait_for(timeout=10.0) def load_mail_into_user_account(context, mail, username): return context.multi_user_client.add_mail_to_user_inbox(mail, username) + @wait_for(timeout=10.0) def add_multi_user_account(context, username): return context.multi_user_client.create_user('username') |