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

Commit a1e60f4

Browse files
committed
Expose failing test
Signed-off-by: Kai A. Hiller <V02460@gmail.com>
1 parent dd87ea5 commit a1e60f4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/handlers/test_user_directory.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -458,9 +458,7 @@ def test_handle_user_deactivated_support_user(self) -> None:
458458
self.store, "remove_from_user_dir", mock_remove_from_user_dir
459459
):
460460
self.get_success(self.handler.handle_local_user_deactivated(s_user_id))
461-
# BUG: the correct spelling is assert_not_called, but that makes the test fail
462-
# and it's not clear that this is actually the behaviour we want.
463-
mock_remove_from_user_dir.not_called()
461+
mock_remove_from_user_dir.assert_not_called()
464462

465463
def test_handle_user_deactivated_regular_user(self) -> None:
466464
r_user_id = "@regular:test"

0 commit comments

Comments
 (0)