@@ -174,9 +174,7 @@ def test_confirm_channel_layer_uses_channel_entity() -> None:
174174 _seed_pending (store , scope , "defs.md" , [_SAMPLE [0 ]])
175175
176176 asyncio .run (
177- ConfirmIngest ().run (
178- {"ref" : "defs.md" , "accept" : "all" , "layer" : "team" }, ctx
179- )
177+ ConfirmIngest ().run ({"ref" : "defs.md" , "accept" : "all" , "layer" : "team" }, ctx )
180178 )
181179
182180 ch_id = ctx .identity .effective_channel_id
@@ -196,9 +194,7 @@ def test_confirm_member_layer_uses_user_id() -> None:
196194 ConfirmIngest ().run ({"ref" : "defs.md" , "accept" : "all" , "layer" : "user" }, ctx )
197195 )
198196
199- raw = store .kv_get (
200- scope , _kv_key ("monthly_revenue" , "user" , ctx .identity .user_id )
201- )
197+ raw = store .kv_get (scope , _kv_key ("monthly_revenue" , "user" , ctx .identity .user_id ))
202198 assert raw is not None
203199
204200
@@ -235,9 +231,7 @@ def test_confirm_channel_layer_blocked_without_channel_id() -> None:
235231 _seed_pending (store , scope , "defs.md" , [_SAMPLE [0 ]])
236232
237233 result = asyncio .run (
238- ConfirmIngest ().run (
239- {"ref" : "defs.md" , "accept" : "all" , "layer" : "team" }, ctx
240- )
234+ ConfirmIngest ().run ({"ref" : "defs.md" , "accept" : "all" , "layer" : "team" }, ctx )
241235 )
242236 assert result .is_error
243237 assert "team" in result .content
@@ -250,7 +244,9 @@ def test_confirm_invalid_layer_returns_error() -> None:
250244 _seed_pending (store , scope , "defs.md" , [_SAMPLE [0 ]])
251245
252246 result = asyncio .run (
253- ConfirmIngest ().run ({"ref" : "defs.md" , "accept" : "all" , "layer" : "department" }, ctx )
247+ ConfirmIngest ().run (
248+ {"ref" : "defs.md" , "accept" : "all" , "layer" : "department" }, ctx
249+ )
254250 )
255251 assert result .is_error
256252 assert "layer" in result .content
0 commit comments