diff --git a/scriptworker/test/test_artifacts.py b/scriptworker/test/test_artifacts.py index 7b4a7f61..fb87a7a3 100644 --- a/scriptworker/test/test_artifacts.py +++ b/scriptworker/test/test_artifacts.py @@ -178,6 +178,7 @@ def makeRoute(*args, **kwargs): context.queue = mock.MagicMock() context.queue.options = {'baseUrl': 'https://netloc/'} context.queue.makeRoute = makeRoute + context.queue.buildUrl = buildUrl assert get_artifact_url(context, "x", "y") == "https://netloc/v1/rel/path"