Commit 12f5d52b by Nimisha Asthagiri

merge branch 'release' fix.

parent d7f850a7
...@@ -74,7 +74,7 @@ def verify_report_is_generated(report_name_substring): ...@@ -74,7 +74,7 @@ def verify_report_is_generated(report_name_substring):
world.wait_for_visible('#report-downloads-table') world.wait_for_visible('#report-downloads-table')
# Find table and assert a .csv file is present # Find table and assert a .csv file is present
quoted_id = http.urlquote(world.course_key).replace('/', '_') quoted_id = http.urlquote(world.course_key).replace('/', '_')
expected_file_regexp = quoted_id + '_' + report_name_substring + '\d{4}-\d{2}-\d{2}-\d{4}\.csv' expected_file_regexp = quoted_id + '_' + report_name_substring + '_\d{4}-\d{2}-\d{2}-\d{4}\.csv'
assert_regexp_matches( assert_regexp_matches(
world.css_html('#report-downloads-table'), expected_file_regexp, world.css_html('#report-downloads-table'), expected_file_regexp,
msg="Expected report filename was not found." msg="Expected report filename was not found."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment