def test_rolling_number_event_is_max_updater(): event = RollingNumberEvent(RollingNumberEvent.THREAD_MAX_ACTIVE) assert event.is_max_updater() is True
def test_rolling_number_event_is_counter(): event = RollingNumberEvent(RollingNumberEvent.SUCCESS) assert event.is_counter() is True