merge branch 'release' fix.
This commit is contained in:
@@ -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."
|
||||||
|
|||||||
Reference in New Issue
Block a user