Unable to remove testcases from the suite
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/azure-devops-python-api
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
All issues in microsoft/azure-devops-python-api
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
learningequality/ricecooker#747 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
run-llama/llama_index#23199 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
KhronosGroup/glTF-Blender-IO#2769 ·