mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-07 15:28:28 +01:00
tests: clean repositories before each test runs
This commit is contained in:
committed by
Saugat Pachhai
parent
446516d788
commit
672f079cc6
@@ -57,6 +57,14 @@ def enable_ui():
|
||||
ui.enable()
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def clean_repos():
|
||||
# pylint: disable=redefined-outer-name
|
||||
from dvc.external_repo import clean_repos
|
||||
|
||||
clean_repos()
|
||||
|
||||
|
||||
@pytest.fixture(scope="session", autouse=True)
|
||||
def _close_pools():
|
||||
from dvc.fs.pool import close_pools
|
||||
|
||||
Reference in New Issue
Block a user