mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-04 05:31:44 -04:00
remove filtering of test messages from jobs
this is now down on the api side
This commit is contained in:
committed by
Chris Hill-Scott
parent
ee8ac59d70
commit
e4f0656a32
@@ -231,7 +231,6 @@ def test_should_show_recent_jobs_on_dashboard(
|
||||
page = BeautifulSoup(response.data.decode('utf-8'), 'html.parser')
|
||||
table_rows = page.find_all('tbody')[2].find_all('tr')
|
||||
|
||||
assert "Test message" not in page.text
|
||||
assert len(table_rows) == 4
|
||||
|
||||
for index, filename in enumerate((
|
||||
|
||||
@@ -27,7 +27,6 @@ def test_get_jobs_should_return_list_of_all_real_jobs(
|
||||
assert page.h1.string == 'Uploaded files'
|
||||
jobs = [x.text for x in page.tbody.find_all('a', {'class': 'file-list-filename'})]
|
||||
assert len(jobs) == 4
|
||||
assert 'Test message' not in jobs
|
||||
|
||||
|
||||
def test_get_jobs_shows_page_links(
|
||||
|
||||
@@ -914,7 +914,6 @@ def mock_get_jobs(mocker, api_user_active):
|
||||
job_status=job_status
|
||||
)
|
||||
for filename, scheduled_for, job_status in (
|
||||
('Test message', '', 'finished'),
|
||||
('export 1/1/2016.xls', '', 'finished'),
|
||||
('all email addresses.xlsx', '', 'pending'),
|
||||
('applicants.ods', '', 'finished'),
|
||||
|
||||
Reference in New Issue
Block a user