mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-13 03:39:44 +08:00
fix: do not strip string content when preparing lazy data
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
- fix: display validators in report when validate raised exception
|
- fix: display validators in report when validate raised exception
|
||||||
- fix: eval validator python script before validating
|
- fix: eval validator python script before validating
|
||||||
|
- fix: do not strip string content when preparing lazy data
|
||||||
|
|
||||||
## 2.4.8 (2019-12-25)
|
## 2.4.8 (2019-12-25)
|
||||||
|
|
||||||
|
|||||||
@@ -776,7 +776,6 @@ def prepare_lazy_data(content, functions_mapping=None, check_variables_set=None,
|
|||||||
|
|
||||||
functions_mapping = functions_mapping or {}
|
functions_mapping = functions_mapping or {}
|
||||||
check_variables_set = check_variables_set or set()
|
check_variables_set = check_variables_set or set()
|
||||||
content = content.strip()
|
|
||||||
content = LazyString(content, functions_mapping, check_variables_set, cached)
|
content = LazyString(content, functions_mapping, check_variables_set, cached)
|
||||||
|
|
||||||
return content
|
return content
|
||||||
|
|||||||
Reference in New Issue
Block a user