mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-06 23:11:21 +08:00
refactor: TestCase/IConfig models
This commit is contained in:
@@ -103,7 +103,7 @@ func runStepShell(r *SessionRunner, step IStep) (stepResult *StepResult, err err
|
||||
ContentSize: 0,
|
||||
}
|
||||
|
||||
vars := r.caseRunner.Config.Variables
|
||||
vars := r.caseRunner.Config.Get().Variables
|
||||
for key, value := range vars {
|
||||
os.Setenv(key, fmt.Sprintf("%v", value))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user