mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-01 12:19:47 -04:00
Unroll unneccessary for loop
This commit is contained in:
@@ -178,8 +178,8 @@ def test_should_show_recent_jobs_on_dashboard(
|
||||
"applicants.ods",
|
||||
"thisisatest.csv",
|
||||
)):
|
||||
for string in (filename, 'Uploaded 1 January at 11:09'):
|
||||
assert string in table_rows[index].find_all('th')[0].text
|
||||
assert filename in table_rows[index].find_all('th')[0].text
|
||||
assert 'Uploaded 1 January at 11:09' in table_rows[index].find_all('th')[0].text
|
||||
for column_index, count in enumerate((1, 0, 0)):
|
||||
assert table_rows[index].find_all('td')[column_index].text.strip() == str(count)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user