Skip to content

Commit

Permalink
test: rename dvc.testing.test_*.py so pytest doesn't handle them as t…
Browse files Browse the repository at this point in the history
…est files
  • Loading branch information
rlamy authored and efiop committed Sep 30, 2022
1 parent 423166c commit 3a9d024
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion tests/func/api/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
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

Expand Down
2 changes: 1 addition & 1 deletion tests/func/test_add.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
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
Expand Down
2 changes: 1 addition & 1 deletion tests/func/test_data_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
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
Expand Down
2 changes: 1 addition & 1 deletion tests/func/test_import_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
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

Expand Down

0 comments on commit 3a9d024

Please sign in to comment.