def test_creation_with_anonymous_or_registered_group(self):
        self.client.login(username='admin', password='admin')
        # These are the builtin groups 'Anonymous' and 'Registered'.
        # The pks are valid. But these groups can not be added to users.
        group_pks = (1, 2,)

        response = self.client.post(
            reverse('user-list'),
            {'last_name': 'Test name aedah1iequoof0Ashed4',
             'groups_id': group_pks})

        self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)
        self.assertEqual(response.data, {'groups_id': [group_pks[0] % "Invalid pk \"%d\" - object does not exist."]})
dataset/ETHPy150Open OpenSlides/OpenSlides/tests/integration/users/test_viewset.py/UserCreate.test_creation_with_anonymous_or_registered_group/swapped operands of `%`