X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/91dc5f1d7f5ad9eb2640f6089e2d0476cbf87c8e..5e4f310a2024cb8f9dc509f94c71467508341851:/sdk/cwl/tests/test_pathmapper.py diff --git a/sdk/cwl/tests/test_pathmapper.py b/sdk/cwl/tests/test_pathmapper.py index 57958f78d0..3b6af04b29 100644 --- a/sdk/cwl/tests/test_pathmapper.py +++ b/sdk/cwl/tests/test_pathmapper.py @@ -12,6 +12,7 @@ import arvados.collection import arvados_cwl from cwltool.pathmapper import MapperEnt +from .mock_discovery import get_rootDesc from arvados_cwl.pathmapper import ArvPathMapper @@ -23,7 +24,7 @@ def upload_mock(files, api, dry_run=False, num_retries=0, project=None, fnPatter class TestPathmap(unittest.TestCase): def setUp(self): self.api = mock.MagicMock() - self.api._rootDesc = arvados.api('v1')._rootDesc + self.api._rootDesc = get_rootDesc() def test_keepref(self): """Test direct keep references."""