mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-28 02:51:42 +08:00
make variables in testcase template compatible with mapping style:
new mapping style:
"variables": {
"a": 1,
"b": 2
}
Also, the former list style is still valid:
"variables": [
{"a": 1},
{"b": 2}
]
This commit is contained in:
@@ -9,7 +9,7 @@ import sys
|
||||
|
||||
import yaml
|
||||
from httprunner import exceptions, logger, parser, utils, validator
|
||||
from httprunner.compat import OrderedDict
|
||||
|
||||
|
||||
###############################################################################
|
||||
## file loader
|
||||
|
||||
Reference in New Issue
Block a user