From 855d5d9e4ae76a7b828f328dca5d5597ef9fced3 Mon Sep 17 00:00:00 2001 From: Jay Zoldak Date: Thu, 3 Oct 2013 16:14:00 -0400 Subject: [PATCH] Fix the matcher for the word 'test' in the upload file step of acceptance tests --- cms/djangoapps/contentstore/features/upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/djangoapps/contentstore/features/upload.py b/cms/djangoapps/contentstore/features/upload.py index 7e1a3c0535..023b477d76 100644 --- a/cms/djangoapps/contentstore/features/upload.py +++ b/cms/djangoapps/contentstore/features/upload.py @@ -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)