def test_false(self): event = HistoryEvent(event_type=EventType.WorkflowExecutionStarted) self.assertFalse(is_decision_event(event))
def test_true(self): event = HistoryEvent(event_type=EventType.ActivityTaskScheduled) self.assertTrue(is_decision_event(event))