remove filtering of test messages from jobs

this is now down on the api side
This commit is contained in:
Leo Hemsted
2016-10-11 14:50:06 +01:00
committed by Chris Hill-Scott
parent ee8ac59d70
commit e4f0656a32
5 changed files with 0 additions and 5 deletions

View File

@@ -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((

View File

@@ -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(

View File

@@ -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'),