File tree 1 file changed +15
-39
lines changed
1 file changed +15
-39
lines changed Original file line number Diff line number Diff line change 3
3
from dvc .testing .test_remote import ( # noqa, pylint: disable=unused-import
4
4
TestRemote ,
5
5
)
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 "http"
15
-
16
-
17
- @pytest .fixture
18
- def remote (make_remote , cloud_name ):
19
- yield make_remote (name = "upstream" , typ = cloud_name )
20
-
21
-
22
- @pytest .fixture
23
- def workspace (make_workspace , cloud_name ):
24
- pytest .skip ("broken" )
6
+ from dvc .testing .test_workspace import TestImport as _TestImport
25
7
26
8
27
9
@pytest .fixture
28
- def stage_md5 ( ):
29
- pytest . skip ( "broken " )
10
+ def remote ( make_remote ):
11
+ yield make_remote ( name = "upstream" , typ = "http " )
30
12
31
13
32
14
@pytest .fixture
33
- def is_object_storage ():
34
- return False
35
-
15
+ def workspace (make_workspace ):
16
+ yield make_workspace (name = "workspace" , typ = "http" )
36
17
37
- @pytest .fixture
38
- def dir_md5 ():
39
- pytest .skip ("broken" )
40
18
19
+ class TestImport (_TestImport ):
20
+ @pytest .fixture
21
+ def stage_md5 (self ):
22
+ return "2aa17f8daa26996b3f7a4cf8888ac9ac"
41
23
42
- @pytest .fixture
43
- def hash_name ():
44
- return "checksum"
45
-
24
+ @pytest .fixture
25
+ def is_object_storage (self ):
26
+ pytest .skip ("broken" )
46
27
47
- @pytest .fixture
48
- def hash_value ():
49
- pytest .skip ("broken" )
50
-
51
-
52
- @pytest .fixture
53
- def dir_hash_value (dir_md5 ):
54
- pytest .skip ("broken" )
28
+ @pytest .fixture
29
+ def dir_md5 (self ):
30
+ pytest .skip ("broken" )
You can’t perform that action at this time.
0 commit comments