diff options
author | Tulio Casagrande <tcasagra@thoughtworks.com> | 2016-11-30 14:17:37 -0200 |
---|---|---|
committer | Tulio Casagrande <tcasagra@thoughtworks.com> | 2016-11-30 14:28:47 -0200 |
commit | ab17f819d5b724b45927e559de7c5dc796cb7fa6 (patch) | |
tree | bf000944c22be98169da9078370b13cd5d9c31e5 /service/test/functional/features/steps/attachments.py | |
parent | bd6280ddb415d5c949234e314a1fd4ffab927732 (diff) |
Extract user agent initialization
Now the initialization and mocking of the user agent run only
when using localhost.
See: https://github.com/pixelated/project-issues/issues/381
Diffstat (limited to 'service/test/functional/features/steps/attachments.py')
-rw-r--r-- | service/test/functional/features/steps/attachments.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/functional/features/steps/attachments.py b/service/test/functional/features/steps/attachments.py index 7a80c34f..43948016 100644 --- a/service/test/functional/features/steps/attachments.py +++ b/service/test/functional/features/steps/attachments.py @@ -51,7 +51,7 @@ def build_mail_with_attachment(subject): @wait_for(timeout=10.0) def load_mail_into_soledad(context, mail): - return context.client.mail_store.add_mail('INBOX', mail.as_string()) + return context.single_user_client.mail_store.add_mail('INBOX', mail.as_string()) @then(u'I see the mail has an attachment') |