Skip to content
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
42 changes: 20 additions & 22 deletions dvc_hdfs/tests/test_dvc.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,31 +24,29 @@ def workspace(make_workspace, cloud_name):
yield make_workspace(name="workspace", typ=cloud_name)


@pytest.fixture
def stage_md5():
return "ec0943f83357f702033c98e70b853c8c"


@pytest.fixture
def is_object_storage():
return False

class TestImportHDFS(TestImport):
@pytest.fixture
def stage_md5(self):
return "ec0943f83357f702033c98e70b853c8c"

@pytest.fixture
def dir_md5():
return "e6dcd267966dc628d732874f94ef4280.dir"
@pytest.fixture
def dir_md5(self):
pytest.skip("https://github.com/iterative/dvc-hdfs/issues/2")

@pytest.fixture
def is_object_storage(self):
return False

@pytest.fixture
def hash_name():
return "checksum"

class TestAddHDFS(TestAdd):
@pytest.fixture
def hash_name(self):
return "checksum"

@pytest.fixture
def hash_value():
return "000002000000000000000000a86fe4d846edc1bf4c355cb6112f141e"
@pytest.fixture
def hash_value(self):
return "000002000000000000000000a86fe4d846edc1bf4c355cb6112f141e"


@pytest.fixture
def dir_hash_value(dir_md5):
pytest.skip("external outputs are broken for hdfs dirs")
@pytest.fixture
def dir_hash_value(self):
pytest.skip("external outputs are broken for hdfs dirs")