Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: update for dvc 3.x #43

Merged
merged 3 commits into from
Jun 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 1 addition & 17 deletions dvc_s3/tests/test_dvc.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
from dvc.testing.remote_tests import ( # noqa, pylint: disable=unused-import
TestRemote,
TestRemoteVersionAware,
TestRemoteWorktree,
)
from dvc.testing.workspace_tests import TestAdd as _TestAdd
from dvc.testing.workspace_tests import TestGetUrl as _TestGetUrl
from dvc.testing.workspace_tests import TestImport as _TestImport
from dvc.testing.workspace_tests import ( # noqa, pylint: disable=unused-import
Expand All @@ -20,7 +18,7 @@
class TestImport(_TestImport):
@pytest.fixture
def stage_md5(self):
return "2aa17f8daa26996b3f7a4cf8888ac9ac"
return "ffe462bbb08432b7a1c3985fcf82ad3a"

@pytest.fixture
def is_object_storage(self):
Expand All @@ -31,20 +29,6 @@ def dir_md5(self):
return "ec602a6ba97b2dd07bd6d2cd89674a60.dir"


class TestAdd(_TestAdd):
@pytest.fixture
def hash_name(self):
return "etag"

@pytest.fixture
def hash_value(self):
return "8c7dd922ad47494fc02c388e12c00eac"

@pytest.fixture
def dir_hash_value(self):
return "ec602a6ba97b2dd07bd6d2cd89674a60.dir"


class TestLsUrl(_TestLsUrl):
pass

Expand Down