Module ImportFrom alias alias alias alias ImportFrom alias alias alias alias ImportFrom alias Import alias Assign NameStore NameLoad ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd Str Call NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call NameLoad Num FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num AugAssignAdd AttributeStore NameLoad attr Num AugAssignAdd AttributeStore NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Num Num Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad Call NameLoad TupleLoad Num Num Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call NameLoad TupleLoad Num Num Num Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad TupleLoad Num Num Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Print Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Num Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Num Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Num Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call NameLoad Num Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Num Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Num Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad Str
N/A behave given when then step guild.actor Actor actor_method actor_function ActorNotStartedException hamcrest * N/A time N/A but when UserDefinedException N/A Exception N/A N/A N/A SimpleActor N/A Actor N/A __init__ N/A N/A self a b c N/A N/A N/A N/A N/A N/A super SimpleActor self __init__ N/A N/A self a a N/A N/A self b b N/A N/A self c c N/A __repr__ N/A N/A self N/A N/A N/A N/A SimpleActor N/A str N/A N/A self a N/A self b N/A self c N/A geta N/A N/A self N/A N/A N/A N/A self a N/A getb N/A N/A self N/A N/A N/A N/A self b N/A getc N/A N/A self N/A N/A N/A N/A self c N/A seta N/A N/A self v N/A N/A N/A N/A self a v N/A setb N/A N/A self v N/A N/A N/A N/A self b v N/A setc N/A N/A self v N/A N/A N/A N/A self c v N/A combine N/A N/A self N/A N/A N/A N/A N/A self a N/A self b N/A self c N/A N/A actor_function 0.01 increment N/A N/A self N/A N/A N/A N/A self a 1 N/A N/A self b 1 N/A N/A self c 1 N/A actor_method fails N/A N/A self N/A N/A N/A N/A UserDefinedException Failed! N/A N/A actor_function 0.01 N/A step_impl N/A N/A context N/A N/A N/A N/A context klass SimpleActor N/A N/A given we create a SimpleActor class but use no special features step_impl N/A N/A context N/A N/A N/A N/A context klass SimpleActor N/A N/A given we create a SimpleActor class with one actor function combine step_impl N/A N/A context N/A N/A N/A N/A context klass SimpleActor N/A N/A given we create a SimpleActor class with one actor method increment and actor function combine step_impl N/A N/A context N/A N/A N/A N/A context klass SimpleActor N/A N/A given we create a SimpleActor class with an actor function called fails step_impl N/A N/A context N/A N/A N/A klass N/A context klass N/A N/A context value N/A klass 1 2 3 N/A N/A when we create an instance of that class step_impl N/A N/A context N/A N/A N/A N/A assert_that False N/A equal_to N/A N/A N/A context value is_alive N/A N/A but don't start it step_impl N/A N/A context N/A N/A N/A N/A N/A N/A context value go N/A N/A assert_that True N/A equal_to N/A N/A N/A context value is_alive N/A N/A when we do start it step_impl N/A N/A context N/A N/A N/A N/A assert_that N/A N/A context value combine N/A raises ActorNotStartedException N/A N/A then that combine actor function doesn't work step_impl N/A N/A context N/A N/A N/A N/A assert_that N/A N/A context value fails N/A raises UserDefinedException N/A N/A then that fails actor function raises an exception in the caller thread step_impl N/A N/A context N/A N/A N/A N/A N/A N/A context value increment N/A N/A N/A time sleep 0.01 N/A v N/A N/A N/A context value a N/A N/A context value b N/A N/A context value c N/A N/A assert_that v N/A equal_to N/A 6 5 4 N/A N/A then that increment actor method doesn't work step_impl N/A N/A context N/A N/A N/A N/A assert_that N/A 6 5 4 N/A equal_to N/A N/A N/A context value combine N/A N/A then that combine actor function works as expected step_impl N/A N/A context N/A N/A N/A N/A N/A N/A context value increment N/A N/A N/A time sleep 0.01 N/A N/A assert_that N/A N/A N/A context value combine N/A equal_to N/A 7 6 5 N/A N/A then that increment actor method works asynchronously as expected step_impl N/A N/A context N/A N/A N/A N/A str N/A context value N/A N/A assert_that SimpleActor(1, 2, 3) N/A equal_to N/A str N/A context value N/A N/A assert_that 1 N/A equal_to N/A N/A context value a N/A N/A assert_that 2 N/A equal_to N/A N/A context value b N/A N/A assert_that 3 N/A equal_to N/A N/A context value c N/A N/A assert_that 1 N/A equal_to N/A N/A N/A context value geta N/A N/A assert_that 2 N/A equal_to N/A N/A N/A context value getb N/A N/A assert_that 3 N/A equal_to N/A N/A N/A context value getc N/A N/A N/A N/A context value seta 6 N/A N/A N/A N/A context value setb 5 N/A N/A N/A N/A context value setc 4 N/A N/A assert_that 6 N/A equal_to N/A N/A N/A context value geta N/A N/A assert_that 5 N/A equal_to N/A N/A N/A context value getb N/A N/A assert_that 4 N/A equal_to N/A N/A N/A context value getc N/A N/A then it can be used as normal