def test_is_notification_should_be_false(self): # Arrange envelope = Session('new') # Act result = Envelope.is_notification(envelope) # Assert assert result is False
def test_is_notification_should_be_true(self): # Arrange envelope = Notification('consumed') # Act result = Envelope.is_notification(envelope) # Assert assert result is True