Skip to content

Commit 5f44fa5

Browse files
committed
Fix api name
1 parent 09f6613 commit 5f44fa5

File tree

5 files changed

+1177
-29
lines changed

5 files changed

+1177
-29
lines changed

.generator/conftest.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,8 @@ def operation_specs(specs):
281281
def api(context, api_version, specs, name):
282282
"""Return an API instance."""
283283
assert name in {tag["name"].replace(" ", "") for tag in specs[api_version]["tags"]}
284-
context["api_instance"] = {"name": name}
284+
api_name = name.replace("-", "")
285+
context["api_instance"] = {"name": api_name}
285286

286287

287288
@given(parsers.parse('operation "{name}" enabled'))

0 commit comments

Comments
 (0)