()
return not settings.UNIT_TESTING
Defined as a function so that we can override it easily for tests
    where we do need to publish changes.
Defined as a function so that we can override it easily for tests
    where we do need to publish changes.
Defined as a function so that we can override it easily for tests where we do need to publish changes .
def do_publish():
    """
    Defined as a function so that we can override it easily for tests
    where we do need to publish changes.
    """
    return not settings.UNIT_TESTING
def do_publish ( ) : return not settings . UNIT_TESTING