mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
test: move func tests to tests/func
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
6c730dd5cb
commit
6f11f1f51f
@@ -14,7 +14,7 @@ from dvc.repo import Repo as DvcRepo
|
||||
from dvc.system import System
|
||||
from dvc.utils import walk_files, load_stage_file
|
||||
from tests.basic_env import TestDvc
|
||||
from tests.test_repro import TestRepro
|
||||
from tests.func.test_repro import TestRepro
|
||||
from dvc.stage import Stage, StageFileBadNameError, StageFileDoesNotExistError
|
||||
from dvc.remote.local import RemoteLOCAL
|
||||
from dvc.exceptions import (
|
||||
@@ -1,7 +1,7 @@
|
||||
from dvc.stage import Stage
|
||||
from dvc.dependency import _get, DEP_MAP
|
||||
|
||||
from tests.test_output import TestOutScheme
|
||||
from tests.func.test_output import TestOutScheme
|
||||
|
||||
|
||||
class TestDepScheme(TestOutScheme):
|
||||
@@ -2,7 +2,7 @@ import os
|
||||
|
||||
from dvc.main import main
|
||||
|
||||
from tests.test_repro import TestRepro
|
||||
from tests.func.test_repro import TestRepro
|
||||
|
||||
|
||||
class TestDestroyNoConfirmation(TestRepro):
|
||||
@@ -6,7 +6,7 @@ from dvc.stage import Stage
|
||||
from dvc.utils import load_stage_file
|
||||
|
||||
from tests.basic_env import TestDvc
|
||||
from tests.test_repro import TestRepro
|
||||
from tests.func.test_repro import TestRepro
|
||||
from tests.utils import cd
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import logging
|
||||
from dvc.main import main
|
||||
|
||||
from tests.basic_env import TestDvc
|
||||
from tests.test_repro import TestRepro, TestReproChangedDeepData
|
||||
from tests.func.test_repro import TestRepro, TestReproChangedDeepData
|
||||
import os
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ from dvc.command.remote import CmdRemoteAdd
|
||||
from dvc.config import Config
|
||||
|
||||
from tests.basic_env import TestDvc
|
||||
from tests.test_data_cloud import get_local_storagepath
|
||||
from tests.func.test_data_cloud import get_local_storagepath
|
||||
|
||||
|
||||
class TestRemote(TestDvc):
|
||||
@@ -29,9 +29,9 @@ from dvc.exceptions import (
|
||||
)
|
||||
|
||||
from tests.basic_env import TestDvc
|
||||
from tests.test_data_cloud import _should_test_aws, TEST_AWS_REPO_BUCKET
|
||||
from tests.test_data_cloud import _should_test_gcp, TEST_GCP_REPO_BUCKET
|
||||
from tests.test_data_cloud import _should_test_ssh, _should_test_hdfs
|
||||
from tests.func.test_data_cloud import _should_test_aws, TEST_AWS_REPO_BUCKET
|
||||
from tests.func.test_data_cloud import _should_test_gcp, TEST_GCP_REPO_BUCKET
|
||||
from tests.func.test_data_cloud import _should_test_ssh, _should_test_hdfs
|
||||
from tests.utils.httpd import StaticFileServer
|
||||
from mock import patch
|
||||
|
||||
@@ -5,7 +5,7 @@ import boto3
|
||||
import pytest
|
||||
|
||||
from dvc.remote.s3 import RemoteS3
|
||||
from tests.test_data_cloud import TEST_AWS_REPO_BUCKET, _should_test_aws
|
||||
from tests.func.test_data_cloud import TEST_AWS_REPO_BUCKET, _should_test_aws
|
||||
|
||||
|
||||
def _get_src_dst():
|
||||
Reference in New Issue
Block a user