From c2f5e35f1d42461dd0e6682598007e17435de4a7 Mon Sep 17 00:00:00 2001 From: pawel Date: Tue, 14 Jan 2020 15:52:33 +0100 Subject: [PATCH] conftest: remove repo_dir --- tests/conftest.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index e147ca7eb..6e01739aa 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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"