merge branch 'release' fix.

This commit is contained in:
Nimisha Asthagiri
2014-10-07 16:32:16 -04:00
parent d7f850a764
commit 12f5d52b60

View File

@@ -74,7 +74,7 @@ def verify_report_is_generated(report_name_substring):
world.wait_for_visible('#report-downloads-table')
# Find table and assert a .csv file is present
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(
world.css_html('#report-downloads-table'), expected_file_regexp,
msg="Expected report filename was not found."