

@classmethod
def set_survey_filter_option(cls, filter_surveys_from_chat, show_invalid_survey_responses_in_chat):
    cls.domain_obj.filter_surveys_from_chat = filter_surveys_from_chat
    cls.domain_obj.show_invalid_survey_responses_in_chat = show_invalid_survey_responses_in_chat
    cls.domain_obj.save()

dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/sms/tests/test_chat.py ChatHistoryTestCase.set_survey_filter_option/original