mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-09 22:44:05 +08:00
refactor: replace GA with GA4
This commit is contained in:
@@ -6,10 +6,7 @@ import (
|
||||
)
|
||||
|
||||
func RunPytest(args []string) error {
|
||||
sdk.SendEvent(sdk.EventTracking{
|
||||
Category: "RunAPITests",
|
||||
Action: "hrp pytest",
|
||||
})
|
||||
sdk.SendGA4Event("hrp_pytest", nil)
|
||||
|
||||
args = append([]string{"run"}, args...)
|
||||
return myexec.ExecPython3Command("httprunner", args...)
|
||||
|
||||
Reference in New Issue
Block a user