

@classmethod
def set_custom_case_username(cls, name):
    cls.domain_obj.custom_case_username = name
    cls.domain_obj.save()

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