mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -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",
|
"applicants.ods",
|
||||||
"thisisatest.csv",
|
"thisisatest.csv",
|
||||||
)):
|
)):
|
||||||
for string in (filename, 'Uploaded 1 January at 11:09'):
|
assert filename in table_rows[index].find_all('th')[0].text
|
||||||
assert string 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)):
|
for column_index, count in enumerate((1, 0, 0)):
|
||||||
assert table_rows[index].find_all('td')[column_index].text.strip() == str(count)
|
assert table_rows[index].find_all('td')[column_index].text.strip() == str(count)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user