Bug 1294096 - Fix test that times out due to external HTTP requests

Previously test_new_job_in_exclusion_profile was attempting to download
logs from ftp.mozilla.org, due to the log parser not being mocked, which
caused intermittent test timeouts on Travis.
This commit is contained in:
Ed Morley 2016-08-10 16:49:47 +01:00
Родитель 721d2f5221
Коммит 527efdccf5
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -740,7 +740,7 @@ def test_remove_existing_jobs_one_existing_one_new(jm, sample_data,
assert Job.objects.count() == 1
def test_new_job_in_exclusion_profile(jm, sample_data, sample_resultset,
def test_new_job_in_exclusion_profile(jm, sample_data, sample_resultset, mock_log_parser,
test_sheriff, test_project):
job = sample_data.job_data[1]
platform = job["job"]["machine_platform"]["platform"]