Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions vsts/vsts/licensing/v4_1/licensing_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ def get_account_entitlements_batch(self, user_ids):
:rtype: [AccountEntitlement]
"""
route_values = {}
route_values['action'] = 'GetUsersEntitlements'
content = self._serialize.body(user_ids, '[str]')
response = self._send(http_method='POST',
location_id='cc3a0130-78ad-4a00-b1ca-49bef42f4656',
Expand All @@ -213,6 +214,7 @@ def obtain_available_account_entitlements(self, user_ids):
:rtype: [AccountEntitlement]
"""
route_values = {}
route_values['action'] = 'GetAvailableUsersEntitlements'
content = self._serialize.body(user_ids, '[str]')
response = self._send(http_method='POST',
location_id='cc3a0130-78ad-4a00-b1ca-49bef42f4656',
Expand Down
4 changes: 4 additions & 0 deletions vsts/vsts/test/v4_1/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1829,6 +1829,7 @@ def add_test_cases_to_suite(self, project, plan_id, suite_id, test_case_ids):
route_values['suiteId'] = self._serialize.url('suite_id', suite_id, 'int')
if test_case_ids is not None:
route_values['testCaseIds'] = self._serialize.url('test_case_ids', test_case_ids, 'str')
route_values['action'] = 'TestCases'
response = self._send(http_method='POST',
location_id='a4a1ec1c-b03f-41ca-8857-704594ecf58e',
version='4.1',
Expand All @@ -1853,6 +1854,7 @@ def get_test_case_by_id(self, project, plan_id, suite_id, test_case_ids):
route_values['suiteId'] = self._serialize.url('suite_id', suite_id, 'int')
if test_case_ids is not None:
route_values['testCaseIds'] = self._serialize.url('test_case_ids', test_case_ids, 'int')
route_values['action'] = 'TestCases'
response = self._send(http_method='GET',
location_id='a4a1ec1c-b03f-41ca-8857-704594ecf58e',
version='4.1',
Expand All @@ -1873,6 +1875,7 @@ def get_test_cases(self, project, plan_id, suite_id):
route_values['planId'] = self._serialize.url('plan_id', plan_id, 'int')
if suite_id is not None:
route_values['suiteId'] = self._serialize.url('suite_id', suite_id, 'int')
route_values['action'] = 'TestCases'
response = self._send(http_method='GET',
location_id='a4a1ec1c-b03f-41ca-8857-704594ecf58e',
version='4.1',
Expand All @@ -1896,6 +1899,7 @@ def remove_test_cases_from_suite_url(self, project, plan_id, suite_id, test_case
route_values['suiteId'] = self._serialize.url('suite_id', suite_id, 'int')
if test_case_ids is not None:
route_values['testCaseIds'] = self._serialize.url('test_case_ids', test_case_ids, 'str')
route_values['action'] = 'TestCases'
self._send(http_method='DELETE',
location_id='a4a1ec1c-b03f-41ca-8857-704594ecf58e',
version='4.1',
Expand Down