From c5a0e774303fca4fee7e6e7c391cca2d621346fe Mon Sep 17 00:00:00 2001 From: Anike Arni Date: Wed, 14 Dec 2016 17:26:01 -0200 Subject: [#845] Fixes pep8 line spacing with @thaissiqueira --- service/test/functional/features/steps/data_setup.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'service/test/functional') 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') -- cgit v1.2.3