def test_is_stoppable(self): assert LifeCycle.is_stoppable(None) is True for status in V1Statuses.allowable_values: if not LifeCycle.is_done(status): assert LifeCycle.is_stoppable(status) is True else: assert LifeCycle.is_stoppable(status) is False
def test_is_stoppable(self): assert LifeCycle.is_stoppable(None) is True for status in LifeCycle.VALUES: if not LifeCycle.is_done(status): assert LifeCycle.is_stoppable(status) is True else: assert LifeCycle.is_stoppable(status) is False