mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 19:39:44 +08:00
refactor: move hrp/ to root folder
This commit is contained in:
16
internal/scaffold/templates/plugin/debugtalkPythonTemplate
Normal file
16
internal/scaffold/templates/plugin/debugtalkPythonTemplate
Normal file
@@ -0,0 +1,16 @@
|
||||
# NOTE: Generated By hrp {{ .Version }}, DO NOT EDIT!
|
||||
|
||||
import sys
|
||||
import os
|
||||
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
from debugtalk import *
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
import funppy
|
||||
{{- range $functionName := .FunctionNames }}
|
||||
funppy.register("{{ $functionName }}", {{ $functionName }})
|
||||
{{- end }}
|
||||
funppy.serve()
|
||||
Reference in New Issue
Block a user