def test_get_all_permissions_from_group_1(self):
        anonymous = AnonymousUser()

        with patch('openslides.users.auth.Permission') as mock_permission:
            anonymous.get_all_permissions()

        mock_permission.objects.filter.assert_called_once_with(group__pk=1)
Tests, that get_all_permissions looks in the permissions of the group with
dataset/ETHPy150Open OpenSlides/OpenSlides/tests/unit/users/test_auth.py/TestAnonymousUser.test_get_all_permissions_from_group_1