зеркало из https://github.com/mozilla/treeherder.git
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.
This commit is contained in:
Родитель
cda21240d8
Коммит
a41c52dcbd
|
@ -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,
|
def test_ingest_builds4h_jobs_1_missing_resultset(jm, initial_data,
|
||||||
sample_resultset, test_repository, mock_buildapi_builds4h_missing1_url,
|
sample_resultset, test_repository, mock_buildapi_builds4h_missing1_url,
|
||||||
mock_post_json_data, mock_log_parser, mock_get_resultset,
|
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
|
Ensure the builds4h job with the missing resultset is queued for refetching
|
||||||
"""
|
"""
|
||||||
|
|
Загрузка…
Ссылка в новой задаче