Skip to content

Commit a3fe10d

Browse files
committed
CS
1 parent 1792bf5 commit a3fe10d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/common/test_asyncapi.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@ def test_register_channel_operation(reset_asyncapi_state):
103103

104104
register_channel(address="test/topic", id=channel_id)
105105
register_channel_operation(
106-
channel_id=channel_id, operation_type=operation_type, messages=[SomeTestMessage], operation_name="test-operation"
106+
channel_id=channel_id,
107+
operation_type=operation_type,
108+
messages=[SomeTestMessage],
109+
operation_name="test-operation",
107110
)
108111

109112
schema = get_schema()
@@ -124,7 +127,9 @@ def test_multiple_messages_registration(reset_asyncapi_state):
124127
channel_id = "test-channel"
125128

126129
register_channel(address="test/topic", id=channel_id)
127-
register_channel_operation(channel_id=channel_id, operation_type="send", messages=[SomeTestMessage, AnotherTestMessage])
130+
register_channel_operation(
131+
channel_id=channel_id, operation_type="send", messages=[SomeTestMessage, AnotherTestMessage]
132+
)
128133

129134
schema = get_schema()
130135
assert SomeTestMessage.__name__ in schema.components.schemas

0 commit comments

Comments
 (0)