def do_publish():
    return not settings.UNIT_TESTING
Defined as a function so that we can override it easily for tests
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/sms/change_publishers.py/do_publish