From f25504b1c17e3079213f943992a734d47be054af Mon Sep 17 00:00:00 2001 From: Peter Rowlands Date: Mon, 12 Jun 2023 18:24:32 +0900 Subject: [PATCH 1/2] tests: remove TestAdd --- dvc_ssh/tests/test_dvc.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/dvc_ssh/tests/test_dvc.py b/dvc_ssh/tests/test_dvc.py index d6726ac..993864a 100644 --- a/dvc_ssh/tests/test_dvc.py +++ b/dvc_ssh/tests/test_dvc.py @@ -5,7 +5,6 @@ from dvc.testing.remote_tests import ( # noqa, pylint: disable=unused-import TestRemote, ) -from dvc.testing.workspace_tests import TestAdd as _TestAdd from dvc.testing.workspace_tests import ( # noqa, pylint: disable=unused-import TestGetUrl, ) @@ -42,17 +41,3 @@ def is_object_storage(self): @pytest.fixture def dir_md5(self): return "b6dcab6ccd17ca0a8bf4a215a37d14cc.dir" - - -class TestAdd(_TestAdd): - @pytest.fixture - def hash_name(self): - return "md5" - - @pytest.fixture - def hash_value(self): - return "8c7dd922ad47494fc02c388e12c00eac" - - @pytest.fixture - def dir_hash_value(self): - return "b6dcab6ccd17ca0a8bf4a215a37d14cc.dir" From 131620140b7dd05254e98dcb4b871657da427c99 Mon Sep 17 00:00:00 2001 From: Peter Rowlands Date: Mon, 12 Jun 2023 18:27:06 +0900 Subject: [PATCH 2/2] tests: update stage hash for dvc 3.x --- dvc_ssh/tests/test_dvc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc_ssh/tests/test_dvc.py b/dvc_ssh/tests/test_dvc.py index 993864a..dd39eb2 100644 --- a/dvc_ssh/tests/test_dvc.py +++ b/dvc_ssh/tests/test_dvc.py @@ -32,7 +32,7 @@ def workspace(make_workspace): class TestImport(_TestImport): @pytest.fixture def stage_md5(self): - return "dc24e1271084ee317ac3c2656fb8812b" + return "7033ee831f78a4dfec2fc71405516067" @pytest.fixture def is_object_storage(self):