mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
fix: filter commented out functions when generating plugin file
This commit is contained in:
@@ -3,6 +3,11 @@ import time
|
||||
from typing import List
|
||||
|
||||
|
||||
# commented out function will be filtered
|
||||
# def get_headers():
|
||||
# return {"User-Agent": "hrp"}
|
||||
|
||||
|
||||
def get_user_agent():
|
||||
return "hrp/funppy"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user