File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 21
21
logger = logging .getLogger ("dvc" )
22
22
23
23
24
- class TestDirFixtureBase (object ):
24
+ class EmptyDirFixture (object ):
25
25
def __init__ (self ):
26
26
root_dir = self .mkdtemp ()
27
27
self ._root_dir = os .path .realpath (root_dir )
@@ -69,7 +69,7 @@ def tearDown(self):
69
69
raise
70
70
71
71
72
- class TestDirFixture (TestDirFixtureBase ):
72
+ class TestDirFixture (EmptyDirFixture ):
73
73
DATA_DIR = "data_dir"
74
74
DATA_SUB_DIR = os .path .join (DATA_DIR , "data_sub_dir" )
75
75
DATA = os .path .join (DATA_DIR , "data" )
Original file line number Diff line number Diff line change 7
7
from git import Repo
8
8
from git .exc import GitCommandNotFound
9
9
10
- from .basic_env import TestDirFixture , TestDirFixtureBase
10
+ from .basic_env import TestDirFixture , EmptyDirFixture
11
11
from .basic_env import TestDvcGitFixture
12
12
from .basic_env import TestGitFixture
13
13
from dvc .remote .config import RemoteConfig
@@ -194,7 +194,7 @@ def git_erepo():
194
194
195
195
@pytest .fixture
196
196
def empty_dir ():
197
- directory = TestDirFixtureBase ()
197
+ directory = EmptyDirFixture ()
198
198
directory .setUp ()
199
199
yield directory
200
200
directory .tearDown ()
You can’t perform that action at this time.
0 commit comments