mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-06 16:07:45 +08:00
fix: RunThriftRequest
This commit is contained in:
@@ -189,7 +189,7 @@ class RunThriftRequest(IStep):
|
|||||||
|
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def setup_hook(self, hook: Text, assign_var_name: Text = None) -> "RunTestCase":
|
def setup_hook(self, hook: Text, assign_var_name: Text = None) -> "RunThriftRequest":
|
||||||
if assign_var_name:
|
if assign_var_name:
|
||||||
self.__step.setup_hooks.append({assign_var_name: hook})
|
self.__step.setup_hooks.append({assign_var_name: hook})
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user