def test_non_export(self):
        response = self.client.get(reverse('groups_report'))
        self.assertEqual(
            response['Content-Type'],
            'text/html; charset=utf-8'
        )
        self.assertEqual(
            response.templates[0].name,
            'group_report.html'
        )
If export is not in query string, response should be normal.
dataset/ETHPy150Open ofa/connect/open_connect/reporting/tests/test_views.py/GroupReportListViewTest.test_non_export