Skip to content
Prev Previous commit
Next Next commit
Fix unused fstring
  • Loading branch information
tsotnikov authored and dbanty committed Aug 15, 2021
commit f06947abfb423406ef3177d81487f89ab47d5988
2 changes: 1 addition & 1 deletion tests/test_parser/test_openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ def test__sort_parameters_invalid_path_templating(self, mocker):
endpoint = self.make_endpoint()
path = "/multiple-path-parameters/{param1}/{param2}"
param = oai.Parameter.construct(
name=f"param1", required=True, param_schema=mocker.MagicMock(), param_in=oai.ParameterLocation.PATH
name="param1", required=True, param_schema=mocker.MagicMock(), param_in=oai.ParameterLocation.PATH
)
endpoint.path_parameters.append(param)

Expand Down