refactor: convert postman case

This commit is contained in:
debugtalk
2022-12-23 12:28:29 +08:00
parent 22a300d9b3
commit ea014c0734
17 changed files with 371 additions and 459 deletions
+2 -2
View File
@@ -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).