Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,9 +459,9 @@ def request_parameter_with_value(context, name, value, path_parameters):
tpl = Template(value).render(**context)
param_name = escape_reserved_keyword(snake_case(name))
context["api_request"]["kwargs"][param_name] = tpl
# Store in path_parameters for undo operations
path_parameters[name] = tpl
path_parameters[param_name] = tpl
# Store in path_parameters for undo operations (deserialize to strip JSON encoding)
path_parameters[name] = json.loads(tpl)
path_parameters[param_name] = json.loads(tpl)


def assert_no_unparsed(data):
Expand Down
Loading