From a41c52dcbd8ea876cd622c5d055d59a39b8eae9e Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Sun, 28 Jun 2015 07:40:10 +0100 Subject: [PATCH] Bug 1178235 - Fix test_buildapi.py so it doesn't hit the network Fixes test_ingest_builds4h_jobs_1_missing_resultset to stop it from accessing hg.mozilla.org during the test run, causing it to fail when offline. --- tests/etl/test_buildapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/etl/test_buildapi.py b/tests/etl/test_buildapi.py index 224ea1f59..a43310014 100644 --- a/tests/etl/test_buildapi.py +++ b/tests/etl/test_buildapi.py @@ -266,7 +266,7 @@ def test_ingest_running_jobs_1_missing_resultset(jm, initial_data, def test_ingest_builds4h_jobs_1_missing_resultset(jm, initial_data, sample_resultset, test_repository, mock_buildapi_builds4h_missing1_url, mock_post_json_data, mock_log_parser, mock_get_resultset, - mock_get_remote_content): + mock_get_remote_content, activate_responses): """ Ensure the builds4h job with the missing resultset is queued for refetching """