We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 391561c commit 4b465a5Copy full SHA for 4b465a5
.generator/conftest.py
@@ -279,7 +279,8 @@ def operation_specs(specs):
279
def api(context, api_version, specs, name):
280
"""Return an API instance."""
281
assert name in {tag["name"].replace(" ", "") for tag in specs[api_version]["tags"]}
282
- context["api_instance"] = {"name": name}
+ instance_name = name.replace("-", "")
283
+ context["api_instance"] = {"name": instance_name}
284
285
286
@given(parsers.parse('operation "{name}" enabled'))
0 commit comments