def test_group_added_to_context(self):
        user = self.create_superuser()
        self.client.login(username=user.email, password='moo')
        response = self.client.get(
            reverse('update_group', args=[self.group.pk]))
        self.assertEqual(response.context_data['group'], self.group)
Generate `a_indptr`; stored in `out`. `s_indices` is assumed to be
dataset/ETHPy150Open ofa/connect/open_connect/groups/tests/test_views.py/GroupUpdateViewTest.test_group_added_to_context--crossover with--dataset/ETHPy150Open QuantEcon/QuantEcon.py/quantecon/markov/ddp.py/_generate_a_indptr