fix: avoid data race for httpstat

This commit is contained in:
debugtalk
2022-10-16 22:36:49 +08:00
parent 28e65e50f7
commit a413197ae6
7 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ var pytestCmd = &cobra.Command{
DisableFlagParsing: true, // allow to pass any args to pytest
RunE: func(cmd *cobra.Command, args []string) error {
packages := []string{
fmt.Sprintf("httprunner==%s", version.VERSION),
fmt.Sprintf("httprunner==%s", version.HttpRunnerMinimumVersion),
}
_, err := myexec.EnsurePython3Venv(venv, packages...)
if err != nil {