File tree Expand file tree Collapse file tree 1 file changed +8
-15
lines changed
Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change 33from dvc .testing .test_remote import ( # noqa, pylint: disable=unused-import
44 TestRemote ,
55)
6- from dvc .testing .test_workspace import ( # noqa, pylint: disable=unused-import
7- TestAdd ,
8- TestImport ,
9- )
10-
11-
12- @pytest .fixture
13- def cloud_name ():
14- return "hdfs"
6+ from dvc .testing .test_workspace import TestAdd as _TestAdd
7+ from dvc .testing .test_workspace import TestImport as _TestImport
158
169
1710@pytest .fixture
18- def remote (make_remote , cloud_name ):
19- yield make_remote (name = "upstream" , typ = cloud_name )
11+ def remote (make_remote ):
12+ yield make_remote (name = "upstream" , typ = "hdfs" )
2013
2114
2215@pytest .fixture
23- def workspace (make_workspace , cloud_name ):
24- yield make_workspace (name = "workspace" , typ = cloud_name )
16+ def workspace (make_workspace ):
17+ yield make_workspace (name = "workspace" , typ = "hdfs" )
2518
2619
27- class TestImportHDFS ( TestImport ):
20+ class TestImport ( _TestImport ):
2821 @pytest .fixture
2922 def stage_md5 (self ):
3023 return "ec0943f83357f702033c98e70b853c8c"
@@ -38,7 +31,7 @@ def is_object_storage(self):
3831 return False
3932
4033
41- class TestAddHDFS ( TestAdd ):
34+ class TestAdd ( _TestAdd ):
4235 @pytest .fixture
4336 def hash_name (self ):
4437 return "checksum"
You can’t perform that action at this time.
0 commit comments