def test_create(self):
        res = self.client.get('/formset/simple/')
        self.assertEqual(res.status_code, 200)
        self.assertTrue('formset' in res.context)
        self.assertFalse('form' in res.context)
        self.assertTemplateUsed(res, 'extra_views/address_formset.html')
        self.assertEqual(res.context['formset'].__class__.__name__, 'AddressFormFormSet')
dataset/ETHPy150Open AndrewIngram/django-extra-views/extra_views_tests/tests.py/FormSetViewTests.test_create/original