def METHOD_NAME(self):
    """Method to check the attendees data export"""
    with self.app.test_request_context():
        test_attendee = AttendeeFactory()
        test_order = OrderFactory(created_at=datetime.now())
        test_attendee.order = test_order
        custom_forms = CustomFormFactory()
        field_data = export_attendees_csv(
            [test_attendee], [custom_forms], ATTENDEE_CUSTOM_FORM)
        # new export_attendees_csv will return list of dictionary for csv_writer
        assert field_data[0].get("Tax ID") == "tax id"