def METHOD_NAME(self, mock_logout, _):
    # Without additional mocking, logout will always fail.
    # Here we test that auth_logout is called regardless
    with less_console_noise():
        self.client.get(reverse("logout"))
    self.assertTrue(mock_logout.called)