projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
10651: Check --submit-runner-ram has a valid value. Add tests.
[arvados.git]
/
sdk
/
cwl
/
tests
/
test_pathmapper.py
diff --git
a/sdk/cwl/tests/test_pathmapper.py
b/sdk/cwl/tests/test_pathmapper.py
index 57958f78d0a41a97b9d5b0aa5f10a2cf10563b22..3b6af04b293e8f48e320fa6508716d3c6d27faf6 100644
(file)
--- 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
import arvados_cwl
from cwltool.pathmapper import MapperEnt
+from .mock_discovery import get_rootDesc
from arvados_cwl.pathmapper import ArvPathMapper
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()
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."""
def test_keepref(self):
"""Test direct keep references."""