Skip to content

Commit e2222f9

Browse files
committed
Fix hyphen
1 parent 51979e9 commit e2222f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.generator/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ def operation_specs(specs):
295295
def api(context, api_version, specs, name):
296296
"""Return an API instance."""
297297
assert name in {tag["name"].replace(" ", "") for tag in specs[api_version]["tags"]}
298+
name = name.replace("-", "")
298299
context["api_instance"] = {"name": name}
299300

300301

0 commit comments

Comments
 (0)