def test_non_admin(self):
        self.admin = get_user_model().objects.get(username='admin')
        self.admin.groups.add(3)
        self.admin.groups.remove(4)

        response = self.client.post(
            reverse('motion-list'),
            {'title': 'test_title_peiJozae0luew9EeL8bo',
             'text': 'test_text_eHohS8ohr5ahshoah8Oh'})

        self.assertEqual(response.status_code, status.HTTP_201_CREATED)
Builds and returns a WSGI app from a paste config file.
dataset/ETHPy150Open OpenSlides/OpenSlides/tests/integration/motions/test_viewset.py/CreateMotion.test_non_admin--crossover with--dataset/ETHPy150Open rcbops/glance-buildpackage/glance/common/config.py/load_paste_app