Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davorrunje committed Mar 4, 2024
1 parent eab5fa8 commit 1af3945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/asyncapi/base/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ async def handle(user: descriminator): ...

schema = get_app_schema(self.build_app(broker)).to_jsonable()

key = next(schema["components"]["messages"].keys())
key = next(iter(schema["components"]["messages"].keys()))
assert key == IsStr(regex=r"test[\w:]*:Handle:Message")
assert schema["components"] == {
"messages": {
Expand Down

0 comments on commit 1af3945

Please sign in to comment.