X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/55e73facf08cc8651eb71529a2ab4e0657d3c870..8cc6fad164fa9d3bdf0fb5965967031a8e1ce9e2:/sdk/cwl/tests/test_container.py diff --git a/sdk/cwl/tests/test_container.py b/sdk/cwl/tests/test_container.py index 5820b56b57..a2f404d7eb 100644 --- a/sdk/cwl/tests/test_container.py +++ b/sdk/cwl/tests/test_container.py @@ -1206,7 +1206,6 @@ class TestContainer(unittest.TestCase): @mock.patch("arvados.commands.keepdocker.list_images_in_arv") def test_match_local_docker(self, keepdocker, determine_image_id): arvados_cwl.add_arv_hints() - #arv_docker_clear_cache() runner = mock.MagicMock() runner.ignore_docker_for_reuse = False @@ -1280,7 +1279,7 @@ class TestContainer(unittest.TestCase): runner.api.container_requests().create.assert_called_with( body=JsonDiffMatcher(container_request)) - #arv_docker_clear_cache() + runtimeContext.cached_docker_lookups.clear() runtimeContext.match_local_docker = True container_request['container_image'] = '99999999999999999999999999999993+99' container_request['name'] = 'test_run_True_2'