Skip to content

Commit

Permalink
test: update resource group case about error msg and update_resource_…
Browse files Browse the repository at this point in the history
…group (#38094)

Signed-off-by: qixuan <[email protected]>
  • Loading branch information
qixuan0212 authored Nov 30, 2024
1 parent 1084349 commit bec5499
Show file tree
Hide file tree
Showing 2 changed files with 306 additions and 72 deletions.
6 changes: 6 additions & 0 deletions tests/python_client/base/utility_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,12 @@ def describe_resource_group(self, name, using="default", timeout=None, check_tas
check_result = ResponseChecker(res, func_name, check_task, check_items, check, **kwargs).run()
return res, check_result

def update_resource_group(self, config, using="default", timeout=None, check_task=None, check_items=None, **kwargs):
func_name = sys._getframe().f_code.co_name
res, check = api_request([self.ut.update_resource_groups, config, using, timeout], **kwargs)
check_result = ResponseChecker(res, func_name, check_task, check_items, check, **kwargs).run()
return res, check_result

def transfer_node(self, source, target, num_node, using="default", timeout=None, check_task=None, check_items=None,
**kwargs):
func_name = sys._getframe().f_code.co_name
Expand Down
Loading

0 comments on commit bec5499

Please sign in to comment.