Example #1
0
    def test_event(self):
        """
        Test to change of state from an event.
        """

        event = {'state': self.new_state}
        change_state(vertice=self.vertice, event=event, manager=tm)
Example #2
0
    def test_state(self):
        """
        Test to change of state from a state.
        """

        change_state(
            vertice=self.vertice, event={}, state=self.new_state, manager=tm
        )