def test_export_no_matches__reports_error(self):
    self.assertEqual(FirstSearchModel.objects.count(), 0)
    response = self.client.post(tool_root_url, {'term': 'example@example.com', 'action': gdpr_assist.admin.tool.PersonalDataSearchForm.ACTION_EXPORT, 'obj_pk': ['{}-1'.format(ContentType.objects.get_for_model(FirstSearchModel).pk)]})
    self.assertEqual(response.status_code, 200)
    self.assertContains(response, '<li class="error">No objects selected</li>')
def test_export_no_matches__reports_error(self):
    self.assertEqual(FirstSearchModel.objects.count(), 0)
    response = self.client.post(tool_root_url, {'term': 'example@example.com', 'action': gdpr_assist.admin.tool.PersonalDataSearchForm.ACTION_EXPORT, 'obj_pk': ['{}-1'.format(ContentType.objects.get_for_model(FirstSearchModel).pk)]})
    self.assertEqual(response.status_code, 200)
    self.assertContains(response, '<li class="error">No objects selected</li>')