diff --git a/.cruft.json b/.cruft.json index 077f5bd..03b6501 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/iterative/cookiecutter-dvc-plugin", - "commit": "13d5c9b49c49d3c14106cb4f9aa61d07876c039b", + "commit": "825ad46a5fdd5cfb92f4993cad2ac6a6d1b0b971", "checkout": null, "context": { "cookiecutter": { diff --git a/dvc_ssh/tests/test_dvc.py b/dvc_ssh/tests/test_dvc.py index 720fa0a..8248a36 100644 --- a/dvc_ssh/tests/test_dvc.py +++ b/dvc_ssh/tests/test_dvc.py @@ -7,21 +7,22 @@ ) from dvc.testing.workspace_tests import TestAdd as _TestAdd from dvc.testing.workspace_tests import TestImport as _TestImport +from dvc.testing.workspace_tests import TestLsUrl as _TestLsUrl @pytest.fixture -def cloud_name(): - return "ssh" +def cloud(make_cloud): + yield make_cloud(typ="ssh") @pytest.fixture -def remote(make_remote, cloud_name): - yield make_remote(name="upstream", typ=cloud_name) +def remote(make_remote): + yield make_remote(name="upstream", typ="ssh") @pytest.fixture -def workspace(make_workspace, cloud_name): - yield make_workspace(name="workspace", typ=cloud_name) +def workspace(make_workspace): + yield make_workspace(name="workspace", typ="ssh") class TestImport(_TestImport): @@ -50,3 +51,7 @@ def hash_value(self): @pytest.fixture def dir_hash_value(self): return "b6dcab6ccd17ca0a8bf4a215a37d14cc.dir" + + +class TestLsUrl(_TestLsUrl): + pass