Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Expose failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Kai A. Hiller <V02460@gmail.com>
  • Loading branch information
V02460 committed Aug 21, 2023
1 parent dd87ea5 commit a1e60f4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/handlers/test_user_directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,7 @@ def test_handle_user_deactivated_support_user(self) -> None:
self.store, "remove_from_user_dir", mock_remove_from_user_dir
):
self.get_success(self.handler.handle_local_user_deactivated(s_user_id))
# BUG: the correct spelling is assert_not_called, but that makes the test fail
# and it's not clear that this is actually the behaviour we want.
mock_remove_from_user_dir.not_called()
mock_remove_from_user_dir.assert_not_called()

def test_handle_user_deactivated_regular_user(self) -> None:
r_user_id = "@regular:test"
Expand Down

0 comments on commit a1e60f4

Please sign in to comment.