Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Print NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr SubscriptLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Index Num Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Num Num Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Str Num Assign AttributeStore NameLoad attr Dict Str Str AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Num FunctionDef arguments args NameParam defaults body Assign SubscriptStore NameLoad Index Str NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Assign AttributeStore AttributeLoad NameLoad attr attr BinOpSub Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad FunctionDef arguments args NameParam defaults body Raise Call NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A time N/A unittest ngcccbase.pwallet PersistentWallet ngcccbase.wallet_controller WalletController ngcccbase.p2ptrade.agent EAgent ngcccbase.p2ptrade.comm CommBase ngcccbase.p2ptrade.ewctrl EWalletController ngcccbase.p2ptrade.protocol_objects MyEOffer MyEProposal MockComm N/A CommBase N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super MockComm self __init__ N/A N/A self agents N/A N/A N/A self peers N/A N/A N/A self messages_sent N/A N/A poll_and_dispatch N/A N/A self N/A N/A N/A N/A add_agent N/A N/A self agent N/A N/A N/A N/A N/A N/A self agents append agent N/A add_peer N/A N/A self peer N/A N/A N/A N/A N/A N/A self peers append peer N/A post_message N/A N/A self content N/A N/A N/A content N/A peer N/A self peers N/A N/A N/A N/A peer process_message content N/A process_message N/A N/A self content N/A N/A N/A agent N/A self agents N/A N/A N/A N/A agent dispatch_message content N/A N/A N/A N/A self messages_sent append content N/A get_messages N/A N/A self N/A N/A N/A N/A self messages_sent N/A N/A TestAgent N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self pwallet N/A PersistentWallet None True N/A N/A N/A N/A self pwallet init_model N/A N/A self model N/A N/A N/A self pwallet get_model N/A adm N/A N/A N/A self model get_asset_definition_manager N/A N/A self asset N/A N/A adm get_asset_by_moniker testobc N/A N/A self color_spec N/A N/A N/A N/A N/A N/A self asset get_color_set get_data N/A 0 N/A N/A self comm0 N/A MockComm N/A N/A self comm1 N/A MockComm N/A N/A N/A N/A self comm0 add_peer N/A self comm1 N/A N/A N/A N/A self comm1 add_peer N/A self comm0 N/A N/A self wc N/A WalletController N/A self model N/A N/A self ewc N/A EWalletController N/A self model N/A self wc N/A N/A self econfig N/A offer_expiry_interval ep_expiry_interval 30 30 N/A N/A self agent0 N/A EAgent N/A self ewc N/A self econfig N/A self comm0 N/A N/A self agent1 N/A EAgent N/A self ewc N/A self econfig N/A self comm1 N/A N/A self cv0 N/A color_spec value 100 N/A N/A self cv1 N/A color_spec value N/A self color_spec 200 N/A N/A self offer0 N/A MyEOffer None N/A self cv0 N/A self cv1 N/A N/A self offer1 N/A MyEOffer None N/A self cv1 N/A self cv0 N/A test_set_event_handler N/A N/A self N/A N/A N/A tmp N/A test 0 handler N/A N/A val N/A N/A N/A N/A tmp N/A test val N/A N/A N/A N/A N/A self agent0 set_event_handler click handler N/A N/A N/A N/A self agent0 fire_event click 7 N/A N/A N/A self assertEqual N/A tmp N/A test 7 N/A N/A N/A self agent0 ep_timeout N/A N/A N/A time time 100 N/A N/A N/A self assertFalse N/A N/A N/A self agent0 has_active_ep N/A test_real N/A N/A self N/A N/A N/A N/A N/A self assertFalse N/A N/A N/A self agent0 has_active_ep N/A N/A N/A N/A self agent0 register_my_offer N/A self offer0 N/A N/A N/A N/A self agent1 register_my_offer N/A self offer1 N/A i N/A range 3 N/A N/A N/A N/A N/A self agent0 _update_state N/A N/A N/A N/A self agent1 _update_state N/A N/A N/A self assertFalse N/A N/A N/A self agent0 has_active_ep N/A N/A N/A self assertFalse N/A N/A N/A self agent1 has_active_ep N/A m0 N/A N/A N/A self comm0 get_messages N/A m1 N/A N/A N/A self comm1 get_messages N/A N/A N/A self assertEquals N/A len m0 2 N/A N/A N/A self assertEquals N/A len m1 2 N/A N/A N/A self assertEquals N/A N/A N/A self offer0 get_data N/A N/A m0 N/A 1 N/A offer N/A N/A N/A self assertEquals N/A N/A N/A self offer0 get_data N/A N/A m1 N/A 1 N/A offer N/A offer2 N/A MyEOffer None N/A self cv0 N/A self cv1 N/A N/A N/A N/A self agent0 register_my_offer offer2 N/A N/A N/A N/A self agent0 update N/A N/A N/A N/A self agent0 update N/A N/A N/A N/A self agent1 update N/A N/A N/A N/A self agent0 cancel_my_offer offer2 N/A N/A N/A N/A self agent0 update N/A N/A N/A N/A self agent1 update N/A N/A N/A self assertFalse N/A N/A N/A self agent0 has_active_ep N/A N/A N/A self assertFalse N/A N/A N/A self agent1 has_active_ep N/A offer3 N/A MyEOffer None N/A self cv1 N/A self cv0 N/A N/A N/A N/A self agent0 make_exchange_proposal offer3 offer2 N/A N/A N/A self assertRaises Exception N/A N/A self agent0 make_exchange_proposal offer3 offer2 N/A ep N/A MyEProposal N/A self ewc offer3 offer2 raiseException N/A N/A x N/A N/A N/A N/A Exception N/A N/A N/A N/A N/A self agent0 set_event_handler accept_ep raiseException N/A N/A N/A N/A self agent0 accept_exchange_proposal ep N/A N/A N/A N/A self agent0 match_offers N/A N/A N/A N/A self agent0 register_their_offer offer3 N/A N/A N/A N/A self agent0 accept_exchange_proposal ep N/A ep2 N/A MyEProposal N/A self ewc offer3 offer2 N/A N/A N/A N/A self agent0 dispatch_exchange_proposal N/A N/A ep2 get_data N/A N/A N/A N/A self agent0 register_my_offer offer2 N/A N/A N/A offer2 refresh -1000 N/A N/A N/A self assertTrue N/A N/A offer2 expired N/A N/A N/A N/A self agent0 service_my_offers N/A N/A N/A N/A self agent0 cancel_my_offer offer2 N/A N/A N/A N/A self agent0 register_their_offer offer3 N/A N/A N/A offer3 refresh -1000 N/A N/A N/A N/A self agent0 service_their_offers N/A N/A TestP2PTradeAgent N/A N/A unittest TestCase N/A test_fire_event N/A N/A self N/A N/A N/A N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main