mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
test: rename dvc.testing.test_*.py so pytest doesn't handle them as test files
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
423166cb0f
commit
3a9d0244b5
@@ -9,7 +9,9 @@ from dvc.exceptions import (
|
||||
OutputNotFoundError,
|
||||
PathMissingError,
|
||||
)
|
||||
from dvc.testing.test_api import TestAPI # noqa, pylint: disable=unused-import
|
||||
from dvc.testing.api_tests import ( # noqa, pylint: disable=unused-import
|
||||
TestAPI,
|
||||
)
|
||||
from dvc.testing.tmp_dir import make_subrepo
|
||||
from dvc.utils.fs import remove
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ from dvc.stage.exceptions import (
|
||||
StageExternalOutputsError,
|
||||
StagePathNotFoundError,
|
||||
)
|
||||
from dvc.testing.test_workspace import TestAdd
|
||||
from dvc.testing.workspace_tests import TestAdd
|
||||
from dvc.utils import LARGE_DIR_SIZE, relpath
|
||||
from dvc.utils.fs import path_isin
|
||||
from dvc.utils.serialize import YAMLFileCorruptedError, load_yaml
|
||||
|
||||
@@ -9,7 +9,7 @@ import dvc_data
|
||||
from dvc.cli import main
|
||||
from dvc.external_repo import clean_repos
|
||||
from dvc.stage.exceptions import StageNotFound
|
||||
from dvc.testing.test_remote import ( # noqa, pylint: disable=unused-import
|
||||
from dvc.testing.remote_tests import ( # noqa, pylint: disable=unused-import
|
||||
TestRemote,
|
||||
)
|
||||
from dvc.utils.fs import remove
|
||||
|
||||
@@ -10,7 +10,7 @@ from dvc.cli import main
|
||||
from dvc.dependency.base import Dependency, DependencyDoesNotExistError
|
||||
from dvc.exceptions import InvalidArgumentError
|
||||
from dvc.stage import Stage
|
||||
from dvc.testing.test_workspace import TestImport as _TestImport
|
||||
from dvc.testing.workspace_tests import TestImport as _TestImport
|
||||
from dvc.utils.fs import makedirs
|
||||
from tests.basic_env import TestDvc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user