Module TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad body Assign AttributeStore NameLoad attr Call NameLoad TupleLoad Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad body Assert Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad body Assert Call AttributeLoad AttributeLoad NameLoad attr attr Str Assert Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad body Assert Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad body Assert Call AttributeLoad AttributeLoad NameLoad attr attr Str Assert Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str decorator_list decorator_list
N/A N/A N/A N/A unittest2 unittest N/A N/A N/A ImportError N/A N/A unittest N/A N/A unittest mock N/A N/A N/A ImportError N/A N/A mock pyoanda.client Client TestAccountAPI N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object Client get_credentials return_value True N/A N/A N/A self client N/A Client N/A http://mydomain.com http://mystreamingdomain.com my_account my_token N/A test_create_account N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object Client _Client__call return_value True N/A N/A N/A N/A N/A self client create_account N/A test_create_account_with_currency N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object Client _Client__call return_value True N/A N/A N/A N/A N/A self client create_account AUD N/A N/A N/A N/A self client create_account currency AUD N/A test_get_accounts N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object Client _Client__call return_value True N/A N/A N/A N/A N/A self client get_accounts N/A test_get_accounts_with_username N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object Client _Client__call return_value True N/A N/A N/A N/A N/A self client get_accounts bob N/A N/A N/A N/A self client get_accounts username bob N/A N/A