Python YASMIN (Yet Another State MachINe)
Loading...
Searching...
No Matches
test_concurrence.TestState Class Reference
Inheritance diagram for test_concurrence.TestState:
Collaboration diagram for test_concurrence.TestState:

Public Member Functions

 setUp (self)
 
 test_call (self)
 
 test_cancel (self)
 
 test_str (self)
 

Public Attributes

 foo_state = FooState()
 
 foo2_state = FooState()
 
 bar_state = BarState()
 
 state
 

Member Function Documentation

◆ setUp()

test_concurrence.TestState.setUp ( self)

◆ test_call()

test_concurrence.TestState.test_call ( self)

◆ test_cancel()

test_concurrence.TestState.test_cancel ( self)

◆ test_str()

test_concurrence.TestState.test_str ( self)

Member Data Documentation

◆ bar_state

test_concurrence.TestState.bar_state = BarState()

◆ foo2_state

test_concurrence.TestState.foo2_state = FooState()

◆ foo_state

test_concurrence.TestState.foo_state = FooState()

◆ state

test_concurrence.TestState.state
Initial value:
= Concurrence(
states={
"FOO": self.foo_state,
"FOO2": self.foo2_state,
"BAR": self.bar_state,
},
default_outcome="default",
outcome_map={
"outcome1": {"FOO": "outcome1"},
"outcome2": {"BAR": "outcome1", "BAR": "outcome1"},
},
)

The documentation for this class was generated from the following file: