summaryrefslogtreecommitdiff
path: root/service/test
diff options
context:
space:
mode:
authorTiago Ferraz <tiago.ferraz@gmail.com>2015-03-26 12:50:11 -0300
committerTiago Ferraz <tiago.ferraz@gmail.com>2015-03-26 12:50:11 -0300
commit290cefcf6911e754cd129c02dda3d1e96dd7fa27 (patch)
treeb9234f3aad9b9a6b3ad69d5ce74dfc25a919967a /service/test
parentc4a0d941b34f9ff0cb03089b185f343a72d8f891 (diff)
Fix pep8 error
Diffstat (limited to 'service/test')
-rw-r--r--service/test/functional/features/steps/mail_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/functional/features/steps/mail_list.py b/service/test/functional/features/steps/mail_list.py
index cbd03c67..dc15c1a9 100644
--- a/service/test/functional/features/steps/mail_list.py
+++ b/service/test/functional/features/steps/mail_list.py
@@ -98,7 +98,7 @@ def impl(context):
@when('I delete the email')
def impl(context):
def last_email():
- return wait_until_elements_are_visible_by_locator(context, (By.XPATH, '//*[@id="mail-list"]//li'))[0]
+ return wait_until_elements_are_visible_by_locator(context, (By.XPATH, '//*[@id="mail-list"]//li'))[0]
context.current_mail_id = last_email().get_attribute('id')
last_email().find_element_by_tag_name('input').click()
find_element_by_id(context, 'delete-selected').click()