mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
conftest: remove repo_dir
This commit is contained in:
@@ -4,7 +4,6 @@ import mockssh
|
||||
import pytest
|
||||
|
||||
from dvc.remote.ssh.connection import SSHConnection
|
||||
from .basic_env import TestDirFixture
|
||||
from .dir_helpers import * # noqa
|
||||
|
||||
|
||||
@@ -28,17 +27,6 @@ def reset_loglevel(request, caplog):
|
||||
yield
|
||||
|
||||
|
||||
# Wrap class like fixture as pytest-like one to avoid code duplication
|
||||
@pytest.fixture
|
||||
def repo_dir():
|
||||
old_fixture = TestDirFixture()
|
||||
old_fixture.setUp()
|
||||
try:
|
||||
yield old_fixture
|
||||
finally:
|
||||
old_fixture.tearDown()
|
||||
|
||||
|
||||
here = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
user = "user"
|
||||
|
||||
Reference in New Issue
Block a user