fix: jsonschema, variables maybe in string type, e.g. '${get_variables()}'

This commit is contained in:
debugtalk
2020-01-02 23:15:51 +08:00
parent e35e0fb938
commit 83a31bc414
4 changed files with 14 additions and 2 deletions

View File

@@ -1,5 +1,11 @@
# Release History # Release History
## 2.5.3 (2020-01-03)
**Fixed**
- fix: jsonschema, variables maybe in string type, e.g. '${get_variables()}'
## 2.5.2 (2020-01-02) ## 2.5.2 (2020-01-02)
**Fixed** **Fixed**

View File

@@ -1,4 +1,4 @@
__version__ = "2.5.2" __version__ = "2.5.3"
__description__ = "One-stop solution for HTTP(S) testing." __description__ = "One-stop solution for HTTP(S) testing."
__all__ = ["__version__", "__description__"] __all__ = ["__version__", "__description__"]

View File

@@ -23,6 +23,12 @@
"maxProperties": 1, "maxProperties": 1,
"minProperties": 1 "minProperties": 1
} }
},
{
"type": "string",
"examples": [
"${get_variables()}"
]
} }
] ]
}, },

View File

@@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "httprunner" name = "httprunner"
version = "2.5.2" version = "2.5.3"
description = "One-stop solution for HTTP(S) testing." description = "One-stop solution for HTTP(S) testing."
license = "Apache-2.0" license = "Apache-2.0"
readme = "README.md" readme = "README.md"