File: python3-tests

package info (click to toggle)
azure-devops-cli-extension 0.26.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 23,920 kB
  • sloc: python: 160,730; xml: 198; sh: 61; makefile: 56
file content (65 lines) | stat: -rwxr-xr-x 6,401 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/bash

set -eu
set -o pipefail

rm -rf "${AUTOPKGTEST_TMP}/azext_devops" "${AUTOPKGTEST_TMP}/tests"
cp -r tests azure-devops/azext_devops "${AUTOPKGTEST_TMP}"

cd "${AUTOPKGTEST_TMP}"
for p in $(py3versions -s); do
    "${p}" -m pytest -v --deselect=azext_devops/test/common/test_credentials.py::TestCredentialsMethods::test_get_credential_fallback \
        --deselect=azext_devops/test/common/test_credentials.py::TestCredentialsMethods::test_get_set_clear_credential \
        --deselect=azext_devops/test/common/test_credentials.py::TestCredentialsMethods::test_get_set_clear_default_credential \
        --deselect=azext_devops/test/common/test_credentials.py::TestCredentialsMethods::test_get_set_clear_default_credential \
        --deselect=azext_devops/test/common/test_credentials.py::TestCredentialsMethods::test_organization_list_file \
        --deselect=azext_devops/test/common/test_credentials.py::TestCredentialsMethods::test_organization_list_file \
        --deselect=azext_devops/test/repos/test_pull_request.py::TestPullRequestMethods::test_create_pull_request_with_auto_complete \
        --deselect=azext_devops/test/repos/test_pull_request.py::TestPullRequestMethods::test_create_pull_request_with_auto_complete \
        --deselect=azext_devops/test/repos/test_pull_request.py::TestPullRequestMethods::test_vote_pull_request \
        --deselect=azext_devops/test/repos/test_pull_request.py::TestPullRequestMethods::test_vote_pull_request \
        --deselect=azext_devops/test/team/test_configure.py::TestConfigureMethods::test_print_current_configuration \
        --deselect=azext_devops/test/boards/test_workitem.py::TestWorkItemMethods::test_delete_work_item_correct_id \
        --deselect=azext_devops/test/boards/test_workitem.py::TestWorkItemMethods::test_delete_work_item_raises_exception_invalid_id \
        --deselect=azext_devops/test/boards/test_workitem.py::TestWorkItemMethods::test_show_work_item_correct_id \
        --deselect=azext_devops/test/boards/test_workitem.py::TestWorkItemMethods::test_show_work_item_correct_id_as_of \
        --deselect=azext_devops/test/boards/test_workitem.py::TestWorkItemMethods::test_show_work_item_correct_id_expand \
        --deselect=azext_devops/test/boards/test_workitem.py::TestWorkItemMethods::test_show_work_item_correct_id_fields \
        --deselect=azext_devops/test/boards/test_workitem.py::TestWorkItemMethods::test_show_work_item_correct_id_open_browser \
        --deselect=azext_devops/test/boards/test_workitem.py::TestWorkItemMethods::test_show_work_item_raises_exception_invalid_id \
        --deselect=azext_devops/test/repos/test_pull_request.py::TestPullRequestMethods::test_create_pull_request \
        --deselect=azext_devops/test/repos/test_pull_request.py::TestPullRequestMethods::test_create_pull_request_with_duplicate_reviwer \
        --deselect=tests/test_adminBannerTest.py::AdminBannerTests::test_admin_banner_addUpdateShowListRemove \
        --deselect=tests/test_boardsAreaTest.py::BoardsAreaTest::test_boards_areas \
        --deselect=tests/test_boardsIterationTest.py::BoardsIterationsTest::test_boards_iterations \
        --deselect=tests/test_boardsQueryTest.py::BoardsQueryTests::test_queryShow \
        --deselect=tests/test_boardsRelationTest.py::BoardsRelationsTest::test_boards_releations_create_remove \
        --deselect=tests/test_boardsWorkItemTest.py::BoardsWorkItemTests::test_workItemCreateShowUpdateDelete \
        --deselect=tests/test_devopsProjectTest.py::DevopsProjectTests::test_devops_projects_CreateListShowDelete \
        --deselect=tests/test_devopsSecurityGroupTest.py::GroupTests::test_devops_group_and_member_tests \
        --deselect=tests/test_devopsSecurityPermissionTest.py::PermissionTests::test_devops_security_permission_tests \
        --deselect=tests/test_devopsTeamTest.py::DevopsTeamTests::test_devops_team_createUpdateShowListDeleteListMember \
        --deselect=tests/test_devopsUserTest.py::TestUser::test_devops_user_command_addUpdateListShowRemove \
        --deselect=tests/test_extensionSearch.py::ExtensionSearchTest::test_extension_search \
        --deselect=tests/test_gitAliasTest.py::TestGitAliasing::test_git_aliases_pr_repo \
        --deselect=tests/test_invoke.py::TestInvoke::test_invoke_command_basic \
        --deselect=tests/test_pipelineAgentPoolQueueTest.py::PipelinesAgentPoolQueueTests::test_pipeline_pools_and_agents \
        --deselect=tests/test_pipelineAgentPoolQueueTest.py::PipelinesAgentPoolQueueTests::test_pipeline_queues \
        --deselect=tests/test_pipelineFoldersTest.py::PipelinesFolderTests::test_pipeline_folders \
        --deselect=tests/test_pipelineAgentPoolQueueTest.py::PipelinesAgentPoolQueueTests::test_pipeline_queues \
        --deselect=tests/test_pipelineFoldersTest.py::PipelinesFolderTests::test_pipeline_folders \
        --deselect=tests/test_pipelinesBuildCancelTest.py::PipelinesBuildCancelTests::test_build_cancel \
        --deselect=tests/test_pipelinesBuildDefinitionsTest.py::PipelinesBuildDefinitionTests::test_build_definition_listShow \
        --deselect=tests/test_pipelinesBuildTagTest.py::PipelinesBuildTagTests::test_build_tag_listAddDelete \
        --deselect=tests/test_pipelinesBuildTest.py::PipelinesTests::test_build_listQueueShow \
        --deselect=tests/test_pipelinesCreateAndVariablesTest.py::PipelinesTests::test_pipeline_create_and_variables_test \
        --deselect=tests/test_reposImportTest.py::ReposImportTests::test_repos_import_create \
        --deselect=tests/test_reposPoliciesTest.py::DevopsReposPoliciesTests::test_repos_policies_createUpdateShowListDelete \
        --deselect=tests/test_reposPrCommandsReviewersTest.py::AzReposPrTests::test_pull_request_createUpdateVoteListAbandonReactivateCompleteReviewers \
        --deselect=tests/test_reposPrPoliciesWorkItemsTest.py::AzReposPrPolicyTests::test_pull_request_policies_workitems \
	--deselect=tests/test_reposRefDeleteFlowTest.py::ReposRefDeleteFlowTests::test_ref_createDeleteFlow \
        --deselect=tests/test_reposRefTest.py::ReposRefTests::test_ref_createListUpdateDelete \
        --deselect=tests/test_reposRepoTest.py::ReposRepoTests::test_repos_createListShowDelete \
        --deselect=tests/test_variableGroup.py::PipelinesTests::test_variable_group \
        --deselect=tests/test_wikiAndPagesTest.py::WikiTests::test_wiki_and_page_createListShowDelete
done