Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Unable to remove testcases from the suite

Open
#411 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure, python
Domain
api, devops

Research direction

Start with the reproduction in the issue and inspect azure/devops/v5_1/test_plan/test_plan_client.py at remove_test_cases_from_suite, especially the request sent around line 579. Reproduce the DELETE failure and compare the client request with the Azure DevOps test-plan API; done means the reported removal operation is handled correctly or the unsupported operation is clearly documented.

Written by the indexing model from the issue text.

Description

client = connection.clients_v5_1
test_plan_client = client.get_test_plan_client()
test_plan_client.remove_test_cases_from_suite(project = project_name, plan_id = pland_id, suite_id = suite_id, test_case_ids = ['1752027'])

Error :
"C:\Users\akuma701\Downloads\azure-testplan\venv\lib\site-packages\azure\devops\v5_1\test_plan\test_plan_client.py", line 579, in remove_test_cases_from_suite
self._send(http_method='DELETE',
File "C:\Users\akuma701\Downloads\azure-testplan\venv\lib\site-packages\azure\devops\client.py", line 104, in _send
response = self._send_request(request=request, headers=headers, content=content, media_type=media_type)
File "C:\Users\akuma701\Downloads\azure-testplan\venv\lib\site-packages\azure\devops\client.py", line 68, in _send_request
self._handle_error(request, response)
File "C:\Users\akuma701\Downloads\azure-testplan\venv\lib\site-packages\azure\devops\client.py", line 279, in _handle_error
raise AzureDevOpsClientRequestError(wrapped_exception.message)
azure.devops.exceptions.AzureDevOpsClientRequestError: The requested resource does not support http method 'DELETE'.

Dominant language
Python
Stars
684
Forks
218
Avg merge
8d 10h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/azure-devops-python-api

All issues in microsoft/azure-devops-python-api

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.