Skip to content

Commit

Permalink
CTOOLS-373: Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt-Storey-Finbourne committed Oct 1, 2024
1 parent f0f4581 commit 920f41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate/templates/api_test.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class {{#operations}}Test{{classname}}(unittest.IsolatedAsyncioTestCase):
{{paramName}}: {{{dataType}}} = None
# {{complexType}}
if "example" in jsonContent:
{{paramName}}: {{dataType}} = jsonContent["example"]["data-access-page-evaluation"]
{{paramName}}: {{dataType}} = jsonContent["example"]
elif "examples" in jsonContent:
examples = jsonContent["examples"]
examples = [examples[key] for key in examples]
Expand Down

0 comments on commit 920f41d

Please sign in to comment.