diff options
author | Code Raguet <ignacio.code@gmail.com> | 2013-09-03 16:30:50 (GMT) |
---|---|---|
committer | Code Raguet <ignacio.code@gmail.com> | 2013-09-03 16:30:50 (GMT) |
commit | 057447d149ba4f4784265151937250cc56e9cadf (patch) | |
tree | ba7970ee8461f266b7f6100697defc1719f2668c | |
parent | 9dd4872885411ba21efb4c6b9988a84fcfa42eaf (diff) |
fix step regex to be feature specific
-rw-r--r-- | webapp/webapp/features/upload_poll_result.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/webapp/features/upload_poll_result.py b/webapp/webapp/features/upload_poll_result.py index bc0ab2d..51177ff 100644 --- a/webapp/webapp/features/upload_poll_result.py +++ b/webapp/webapp/features/upload_poll_result.py @@ -19,7 +19,7 @@ def result_file_is_authored_by_pollster(step, file_name, pollster_username): world.poll_result_path = create_poll_result_file(data, file_name) -@step(u'When I visit the "([^"]*)" page') +@step(u'When I visit the "([^"]*)" page$') def when_i_visit_the_page_name(step, page_name): page_list = {'upload': 'polls/upload_result'} page = page_list[page_name] |