Module Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Str Str Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore ListLoad Str Str Str Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMult ListLoad NameLoad Num ListComp Call AttributeLoad NameLoad attr Call NameLoad NameLoad comprehension NameStore ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad Str ListLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call NameLoad Num ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str For NameStore ListLoad Str Str Str Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad Str ListLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str For NameStore ListLoad Str Str Str Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr ListLoad Str ListLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list decorator_list
N/A N/A unittest calvin.runtime.north fifo calvin.runtime.north.calvin_token Token FifoTests N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A tearDown N/A N/A self N/A N/A N/A N/A verify_data N/A N/A self write_data fifo_data N/A N/A N/A write_data fifo_data N/A N/A a b N/A zip write_data fifo_data N/A N/A d N/A b value N/A N/A N/A self assertEquals a d N/A test1 N/A N/A self N/A N/A N/A Adding reader again (reconnect) N/A f N/A N/A fifo FIFO 5 N/A N/A N/A f add_reader p1.id N/A data N/A 1 2 3 4 N/A token data N/A N/A N/A N/A self assertTrue N/A N/A f can_write N/A N/A N/A self assertTrue N/A N/A f write N/A Token token N/A N/A N/A self verify_data N/A 1 2 N/A N/A N/A f read p1.id N/A _ N/A range 2 N/A N/A N/A f commit_reads p1.id True N/A N/A N/A f add_reader p1.id N/A N/A N/A self verify_data N/A 3 4 N/A N/A N/A f read p1.id N/A _ N/A range 2 N/A N/A N/A self assertEquals None N/A N/A f read p1.id N/A N/A N/A f commit_reads p1.id True N/A token N/A 5 6 7 8 N/A N/A N/A N/A self assertTrue N/A N/A f can_write N/A N/A N/A self assertTrue N/A N/A f write N/A Token token N/A N/A N/A self assertFalse N/A N/A f can_write N/A N/A N/A self verify_data N/A 5 6 7 8 N/A N/A N/A f read p1.id N/A _ N/A range 4 N/A N/A N/A f commit_reads p1.id True N/A test2 N/A N/A self N/A N/A N/A Multiple readers N/A f N/A N/A fifo FIFO 5 N/A N/A N/A f add_reader r1 N/A N/A N/A f add_reader r2 N/A N/A N/A self assertEquals N/A N/A f read r1 None N/A N/A N/A self assertEquals N/A len f 0 N/A N/A N/A self assertTrue N/A N/A f write N/A Token 1 N/A N/A N/A self assertEquals N/A len f 1 N/A N/A N/A self assertTrue N/A N/A f read r1 N/A N/A N/A f commit_reads r1 N/A N/A N/A self assertEquals N/A N/A True 3 N/A N/A N/A f write N/A Token t N/A t N/A 2 3 4 N/A N/A N/A self assertFalse N/A N/A f write N/A Token 5 N/A N/A N/A self verify_data N/A 2 3 4 N/A N/A N/A f read r1 N/A _ N/A range 3 N/A N/A N/A f commit_reads r1 N/A N/A N/A self assertEquals N/A len f 4 N/A N/A N/A self assertFalse N/A N/A f can_write N/A N/A N/A self assertTrue N/A N/A f can_read r2 N/A N/A N/A self assertFalse N/A N/A f can_read r1 N/A N/A N/A self verify_data N/A 1 2 3 N/A N/A N/A f read r2 N/A _ N/A range 3 N/A N/A N/A f commit_reads r2 N/A N/A N/A self assertEquals N/A len f 1 N/A N/A N/A self assertTrue N/A N/A f write N/A Token 5 N/A N/A N/A self verify_data N/A 4 5 N/A N/A N/A f read r2 N/A _ N/A range 2 N/A N/A N/A self assertFalse N/A N/A f can_read r2 N/A N/A N/A self assertEquals None N/A N/A f read r2 N/A N/A N/A self assertTrue N/A N/A f can_read r1 N/A N/A N/A self verify_data N/A 5 N/A N/A N/A f read r1 N/A N/A N/A f commit_reads r2 N/A N/A N/A f commit_reads r1 N/A N/A N/A self assertTrue N/A N/A f write N/A Token 6 N/A N/A N/A self assertTrue N/A N/A f write N/A Token 7 N/A N/A N/A self assertTrue N/A N/A f write N/A Token 8 N/A N/A N/A self assertTrue N/A N/A N/A f read r1 N/A _ N/A range 4 N/A N/A N/A f read r2 N/A _ N/A range 4 N/A test3 N/A N/A self N/A N/A N/A Testing commit reads N/A f N/A N/A fifo FIFO 5 N/A N/A N/A f add_reader r1 N/A token N/A 1 2 3 4 N/A N/A N/A N/A self assertTrue N/A N/A f can_write N/A N/A N/A self assertTrue N/A N/A f write N/A Token token N/A N/A N/A self assertFalse N/A N/A f can_write N/A N/A N/A self assertFalse N/A N/A f write N/A Token 5 N/A N/A N/A self verify_data N/A 1 N/A N/A N/A f read r1 N/A N/A N/A self assertFalse N/A N/A f can_write N/A N/A N/A self assertFalse N/A N/A f write N/A Token 5 N/A N/A N/A f commit_reads r1 N/A N/A N/A self assertTrue N/A N/A f can_write N/A N/A N/A self assertTrue N/A N/A f write N/A Token 5 N/A N/A N/A self assertFalse N/A N/A f can_write N/A N/A N/A self assertFalse N/A N/A f write N/A Token 5 N/A test4 N/A N/A self N/A N/A N/A Testing rollback reads N/A f N/A N/A fifo FIFO 5 N/A N/A N/A f add_reader r1 N/A token N/A 1 2 3 4 N/A N/A N/A N/A self assertTrue N/A N/A f can_write N/A N/A N/A self assertTrue N/A N/A f write N/A Token token N/A N/A N/A self assertFalse N/A N/A f can_write N/A N/A N/A self assertFalse N/A N/A f write N/A Token 5 N/A N/A N/A self verify_data N/A 1 2 3 4 N/A N/A N/A f read r1 N/A _ N/A range 4 N/A N/A N/A self assertEquals N/A len f 4 N/A N/A N/A f rollback_reads r1 N/A N/A N/A self assertFalse N/A N/A f can_write N/A N/A N/A self assertFalse N/A N/A f write N/A Token 5 N/A N/A N/A self assertEquals N/A len f 4 N/A N/A N/A self verify_data N/A 1 N/A N/A N/A f read r1 N/A N/A N/A f commit_reads r1 N/A N/A N/A self assertEquals N/A len f 3 N/A N/A N/A self assertTrue N/A N/A f can_write N/A N/A N/A self assertTrue N/A N/A f write N/A Token a N/A N/A N/A self assertFalse N/A N/A f can_write N/A N/A N/A self assertFalse N/A N/A f write N/A Token b N/A N/A