Merge pull request #1218 from edx/zoldak/fix-file-matcher

Fix the matcher for the word 'test' in the upload file step of tests
This commit is contained in:
Jay Zoldak
2013-10-03 13:28:55 -07:00

View File

@@ -24,7 +24,7 @@ def go_to_uploads(_step):
world.css_click(uploads_css)
@step(u'I upload the( test?) file "([^"]*)"$')
@step(u'I upload the( test)? file "([^"]*)"$')
def upload_file(_step, is_test_file, file_name):
upload_css = 'a.upload-button'
world.css_click(upload_css)