mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-29 01:18:30 +00:00
try a different fix
This commit is contained in:
@@ -1206,8 +1206,7 @@ class RoomMemberStateTestCase(RoomBase):
|
||||
HTTPStatus.FORBIDDEN, "All events are rejected by this policy server"
|
||||
)
|
||||
|
||||
# type: ignore[method-assign]
|
||||
self.hs.get_room_policy_handler().ask_policy_server_to_sign_event = Mock(
|
||||
self.hs.get_room_policy_handler().ask_policy_server_to_sign_event = Mock( # type: ignore[method-assign]
|
||||
side_effect=always_throw
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user