mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-04 23:16:57 +08:00
refactor: convert postman case
This commit is contained in:
@@ -31,9 +31,9 @@ func convert2GoTestScripts(paths ...string) error {
|
||||
for _, testCase := range testCases {
|
||||
tc := testCase.ToTCase()
|
||||
converter := TCaseConverter{
|
||||
TCase: tc,
|
||||
tCase: tc,
|
||||
}
|
||||
pytestPath, err := converter.ToPyTest()
|
||||
pytestPath, err := converter.toPyTest()
|
||||
if err != nil {
|
||||
log.Error().Err(err).
|
||||
Str("originPath", tc.Config.Path).
|
||||
|
||||
Reference in New Issue
Block a user