mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 11:29:48 +08:00
fix: RunThriftRequest
This commit is contained in:
@@ -189,7 +189,7 @@ class RunThriftRequest(IStep):
|
||||
|
||||
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:
|
||||
self.__step.setup_hooks.append({assign_var_name: hook})
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user