diff --git a/azure-devops/azext_devops/tests/latest/boards/test_area.py b/azure-devops/azext_devops/tests/latest/boards/test_area.py index ae9f5a11..b3b07a78 100644 --- a/azure-devops/azext_devops/tests/latest/boards/test_area.py +++ b/azure-devops/azext_devops/tests/latest/boards/test_area.py @@ -15,8 +15,8 @@ from azext_devops.devops_sdk.v5_0.work.models import (TeamFieldValue, TeamFieldValuesPatch) from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests -from azext_devops.test.utils.helper import get_client_mock_helper +from azext_devops.tests.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.helper import get_client_mock_helper from azext_devops.dev.boards.area import (get_project_areas, get_project_area, delete_project_area, diff --git a/azure-devops/azext_devops/tests/latest/boards/test_iteration.py b/azure-devops/azext_devops/tests/latest/boards/test_iteration.py index 6581b31a..f5cfbce2 100644 --- a/azure-devops/azext_devops/tests/latest/boards/test_iteration.py +++ b/azure-devops/azext_devops/tests/latest/boards/test_iteration.py @@ -13,8 +13,8 @@ from mock import patch from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests -from azext_devops.test.utils.helper import get_client_mock_helper +from azext_devops.tests.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.helper import get_client_mock_helper from azext_devops.dev.boards.iteration import (get_project_iterations, get_project_iteration, delete_project_iteration, diff --git a/azure-devops/azext_devops/tests/latest/boards/test_workitem.py b/azure-devops/azext_devops/tests/latest/boards/test_workitem.py index 5f3f17a0..1ef9b152 100644 --- a/azure-devops/azext_devops/tests/latest/boards/test_workitem.py +++ b/azure-devops/azext_devops/tests/latest/boards/test_workitem.py @@ -15,8 +15,8 @@ from azext_devops.dev.boards.work_item import (delete_work_item, show_work_item) from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.helper import get_client_mock_helper, TEST_DEVOPS_ORG_URL -from azext_devops.test.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.helper import get_client_mock_helper, TEST_DEVOPS_ORG_URL +from azext_devops.tests.utils.authentication import AuthenticatedTests class TestWorkItemMethods(AuthenticatedTests): diff --git a/azure-devops/azext_devops/tests/latest/integrationtests/test_reposPrPoliciesWorkItemsTest.py b/azure-devops/azext_devops/tests/latest/integrationtests/test_reposPrPoliciesWorkItemsTest.py index 8e954a43..c6343a05 100644 --- a/azure-devops/azext_devops/tests/latest/integrationtests/test_reposPrPoliciesWorkItemsTest.py +++ b/azure-devops/azext_devops/tests/latest/integrationtests/test_reposPrPoliciesWorkItemsTest.py @@ -22,8 +22,8 @@ def test_pull_request_policies_workitems(self): #List PR pr_list = self.cmd('az repos pr list --project PullRequestLiveTest --repository PullRequestLiveTest --detect false --output json', checks=[ - self.check("[0].description", "Updated README.md"), - self.check("[1].description", "Updated README.md"), + self.check("[0].description", 'Updated README.md'), + self.check("[1].description", 'Updated README.md'), ]).get_output_in_json() assert len(pr_list) > 0 diff --git a/azure-devops/azext_devops/tests/latest/pipelines/test_pipeline_agents.py b/azure-devops/azext_devops/tests/latest/pipelines/test_pipeline_agents.py index bce2d634..1cac1f68 100644 --- a/azure-devops/azext_devops/tests/latest/pipelines/test_pipeline_agents.py +++ b/azure-devops/azext_devops/tests/latest/pipelines/test_pipeline_agents.py @@ -13,7 +13,7 @@ from mock import patch from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.authentication import AuthenticatedTests from azext_devops.devops_sdk.v5_1.task_agent.task_agent_client import TaskAgentClient from azext_devops.dev.pipelines.agent_pool_queue import list_pools, show_pool, list_agents, show_agent, list_queues, show_queue diff --git a/azure-devops/azext_devops/tests/latest/pipelines/test_pipeline_folders.py b/azure-devops/azext_devops/tests/latest/pipelines/test_pipeline_folders.py index 544256ca..597781f5 100644 --- a/azure-devops/azext_devops/tests/latest/pipelines/test_pipeline_folders.py +++ b/azure-devops/azext_devops/tests/latest/pipelines/test_pipeline_folders.py @@ -13,7 +13,7 @@ from mock import patch from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.authentication import AuthenticatedTests from azext_devops.dev.pipelines.pipeline_folders import (pipeline_folder_create, pipeline_folder_delete, pipeline_folder_list, diff --git a/azure-devops/azext_devops/tests/latest/pipelines/test_pipeline_run.py b/azure-devops/azext_devops/tests/latest/pipelines/test_pipeline_run.py index b3ee2715..961fb03e 100644 --- a/azure-devops/azext_devops/tests/latest/pipelines/test_pipeline_run.py +++ b/azure-devops/azext_devops/tests/latest/pipelines/test_pipeline_run.py @@ -13,12 +13,12 @@ from mock import patch from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.authentication import AuthenticatedTests from azext_devops.devops_sdk.v5_0.build.build_client import BuildClient from azext_devops.devops_sdk.v6_0.pipelines.pipelines_client import PipelinesClient from azext_devops.dev.pipelines.pipeline import pipeline_run -from azext_devops.test.utils.helper import get_client_mock_helper, TEST_DEVOPS_ORG_URL +from azext_devops.tests.utils.helper import get_client_mock_helper, TEST_DEVOPS_ORG_URL class TestPipelinesRun(AuthenticatedTests): diff --git a/azure-devops/azext_devops/tests/latest/pipelines/test_pipeline_runs_artifacts.py b/azure-devops/azext_devops/tests/latest/pipelines/test_pipeline_runs_artifacts.py index 5678c4d5..ff1889f4 100644 --- a/azure-devops/azext_devops/tests/latest/pipelines/test_pipeline_runs_artifacts.py +++ b/azure-devops/azext_devops/tests/latest/pipelines/test_pipeline_runs_artifacts.py @@ -14,7 +14,7 @@ from azext_devops.dev.pipelines.runs_artifacts import run_artifact_download, run_artifact_upload, run_artifact_list from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.authentication import AuthenticatedTests from azext_devops.devops_sdk.v5_0.build.build_client import BuildClient from azext_devops.dev.common.const import ARTIFACTTOOL_PAT_ENVKEY diff --git a/azure-devops/azext_devops/tests/latest/pipelines/test_pipelines_build.py b/azure-devops/azext_devops/tests/latest/pipelines/test_pipelines_build.py index 49e78265..ff939a93 100644 --- a/azure-devops/azext_devops/tests/latest/pipelines/test_pipelines_build.py +++ b/azure-devops/azext_devops/tests/latest/pipelines/test_pipelines_build.py @@ -14,7 +14,7 @@ from azext_devops.dev.pipelines.build import (build_show) from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.authentication import AuthenticatedTests from azext_devops.devops_sdk.v5_0.build.build_client import BuildClient diff --git a/azure-devops/azext_devops/tests/latest/repos/test_import_request.py b/azure-devops/azext_devops/tests/latest/repos/test_import_request.py index 3db3b200..f3730ac1 100644 --- a/azure-devops/azext_devops/tests/latest/repos/test_import_request.py +++ b/azure-devops/azext_devops/tests/latest/repos/test_import_request.py @@ -20,8 +20,8 @@ from azext_devops.dev.repos.import_request import create_import_request from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests -from azext_devops.test.utils.helper import get_client_mock_helper +from azext_devops.tests.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.helper import get_client_mock_helper class TestImportRepositoryMethods(AuthenticatedTests): diff --git a/azure-devops/azext_devops/tests/latest/repos/test_policy.py b/azure-devops/azext_devops/tests/latest/repos/test_policy.py index e33d4a64..a702bbc8 100644 --- a/azure-devops/azext_devops/tests/latest/repos/test_policy.py +++ b/azure-devops/azext_devops/tests/latest/repos/test_policy.py @@ -15,7 +15,7 @@ from azext_devops.dev.repos.policy import * from azext_devops.devops_sdk.v5_0.policy.models import PolicyConfiguration, PolicyTypeRef from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.authentication import AuthenticatedTests from azext_devops.devops_sdk.v5_0.policy.policy_client import PolicyClient diff --git a/azure-devops/azext_devops/tests/latest/repos/test_pull_request.py b/azure-devops/azext_devops/tests/latest/repos/test_pull_request.py index d0fd94c9..45f908df 100644 --- a/azure-devops/azext_devops/tests/latest/repos/test_pull_request.py +++ b/azure-devops/azext_devops/tests/latest/repos/test_pull_request.py @@ -30,8 +30,8 @@ from azext_devops.dev.common.git import get_current_branch_name, resolve_git_ref_heads from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests -from azext_devops.test.utils.helper import get_client_mock_helper, TEST_DEVOPS_ORG_URL +from azext_devops.tests.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.helper import get_client_mock_helper, TEST_DEVOPS_ORG_URL class TestPullRequestMethods(AuthenticatedTests): diff --git a/azure-devops/azext_devops/tests/latest/repos/test_ref.py b/azure-devops/azext_devops/tests/latest/repos/test_ref.py index 65718cd2..6afeb427 100644 --- a/azure-devops/azext_devops/tests/latest/repos/test_ref.py +++ b/azure-devops/azext_devops/tests/latest/repos/test_ref.py @@ -17,8 +17,8 @@ from azext_devops.devops_sdk.v5_0.git.git_client import GitClient from azext_devops.dev.common.services import clear_connection_cache from azext_devops.dev.repos.ref import (list_refs, create_ref, delete_ref, lock_ref, unlock_ref) -from azext_devops.test.utils.authentication import AuthenticatedTests -from azext_devops.test.utils.helper import get_client_mock_helper, TEST_DEVOPS_ORG_URL +from azext_devops.tests.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.helper import get_client_mock_helper, TEST_DEVOPS_ORG_URL class MockRef(object): def __init__(self, object_id): diff --git a/azure-devops/azext_devops/tests/latest/repos/test_repository.py b/azure-devops/azext_devops/tests/latest/repos/test_repository.py index fd6574fa..f901ea82 100644 --- a/azure-devops/azext_devops/tests/latest/repos/test_repository.py +++ b/azure-devops/azext_devops/tests/latest/repos/test_repository.py @@ -20,8 +20,8 @@ update_repo) from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests -from azext_devops.test.utils.helper import get_client_mock_helper +from azext_devops.tests.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.helper import get_client_mock_helper class TestRepositoryMethods(AuthenticatedTests): diff --git a/azure-devops/azext_devops/tests/latest/team/test_configure.py b/azure-devops/azext_devops/tests/latest/team/test_configure.py index ff0cd004..487646f4 100644 --- a/azure-devops/azext_devops/tests/latest/team/test_configure.py +++ b/azure-devops/azext_devops/tests/latest/team/test_configure.py @@ -12,7 +12,7 @@ from mock import patch from azext_devops.dev.common.const import DEFAULTS_SECTION from azext_devops.dev.team.configure import print_current_configuration, configure -from azext_devops.test.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.authentication import AuthenticatedTests from azext_devops.dev.common.services import clear_connection_cache class TestConfigureMethods(AuthenticatedTests): diff --git a/azure-devops/azext_devops/tests/latest/team/test_extension.py b/azure-devops/azext_devops/tests/latest/team/test_extension.py index 21e8f05c..2ff702ff 100644 --- a/azure-devops/azext_devops/tests/latest/team/test_extension.py +++ b/azure-devops/azext_devops/tests/latest/team/test_extension.py @@ -21,7 +21,7 @@ disable_extension) from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.authentication import AuthenticatedTests class MockInstalledExtension(object): def __init__(self, flags, install_state=None): diff --git a/azure-devops/azext_devops/tests/latest/team/test_login.py b/azure-devops/azext_devops/tests/latest/team/test_login.py index 93ed5cac..24dc5302 100644 --- a/azure-devops/azext_devops/tests/latest/team/test_login.py +++ b/azure-devops/azext_devops/tests/latest/team/test_login.py @@ -15,7 +15,7 @@ from azext_devops.dev.team.credentials import credential_set, credential_clear from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.authentication import AuthenticatedTests class TestLoginLogoutMethods(AuthenticatedTests): diff --git a/azure-devops/azext_devops/tests/latest/team/test_security_group.py b/azure-devops/azext_devops/tests/latest/team/test_security_group.py index 3f8c8b95..71208f7c 100644 --- a/azure-devops/azext_devops/tests/latest/team/test_security_group.py +++ b/azure-devops/azext_devops/tests/latest/team/test_security_group.py @@ -23,8 +23,8 @@ list_memberships) from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests -from azext_devops.test.utils.helper import get_client_mock_helper +from azext_devops.tests.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.helper import get_client_mock_helper class TestSecurityGroupMethods(AuthenticatedTests): _TEST_DEVOPS_ORGANIZATION = 'https://someorganization.visualstudio.com' diff --git a/azure-devops/azext_devops/tests/latest/team/test_security_permission.py b/azure-devops/azext_devops/tests/latest/team/test_security_permission.py index 8e4ca2f2..81dfcef9 100644 --- a/azure-devops/azext_devops/tests/latest/team/test_security_permission.py +++ b/azure-devops/azext_devops/tests/latest/team/test_security_permission.py @@ -28,8 +28,8 @@ _resolve_bits) from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests -from azext_devops.test.utils.helper import get_client_mock_helper +from azext_devops.tests.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.helper import get_client_mock_helper class TestSecurityPermissionsMethods(AuthenticatedTests): _TEST_DEVOPS_ORGANIZATION = 'https://someorganization.visualstudio.com' diff --git a/azure-devops/azext_devops/tests/latest/team/test_service_endpoint.py b/azure-devops/azext_devops/tests/latest/team/test_service_endpoint.py index fb093c87..5fa73ff9 100644 --- a/azure-devops/azext_devops/tests/latest/team/test_service_endpoint.py +++ b/azure-devops/azext_devops/tests/latest/team/test_service_endpoint.py @@ -23,8 +23,8 @@ update_service_endpoint) from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests -from azext_devops.test.utils.helper import get_client_mock_helper +from azext_devops.tests.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.helper import get_client_mock_helper class TestServiceEndpointMethods(AuthenticatedTests): diff --git a/azure-devops/azext_devops/tests/latest/team/test_team.py b/azure-devops/azext_devops/tests/latest/team/test_team.py index 3c332d6b..5062ca30 100644 --- a/azure-devops/azext_devops/tests/latest/team/test_team.py +++ b/azure-devops/azext_devops/tests/latest/team/test_team.py @@ -21,7 +21,7 @@ update_team) from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.authentication import AuthenticatedTests class TestTeamMethods(AuthenticatedTests): diff --git a/azure-devops/azext_devops/tests/latest/team/test_user.py b/azure-devops/azext_devops/tests/latest/team/test_user.py index 53b26d3c..16369356 100644 --- a/azure-devops/azext_devops/tests/latest/team/test_user.py +++ b/azure-devops/azext_devops/tests/latest/team/test_user.py @@ -20,7 +20,7 @@ update_user_entitlement) from azext_devops.dev.common.services import clear_connection_cache -from azext_devops.test.utils.authentication import AuthenticatedTests +from azext_devops.tests.utils.authentication import AuthenticatedTests class TestUserMethods(AuthenticatedTests):