Module Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias alias FunctionDef arguments args defaults body Assign NameStore Num Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad Str BinOpMod Str NameLoad Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call NameLoad NameLoad Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Num Assign NameStore Dict Str Str Num Num Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call NameLoad NameLoad Str BinOpMod Str NameLoad keyword Call AttributeLoad NameLoad attr NameLoad keyword Dict Str Str decorator_list FunctionDef arguments args defaults body Assign NameStore Num Assign NameStore Num Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call NameLoad NameLoad Str BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Num Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad Str BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Num Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Num Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Num Assign NameStore Dict Str Str Str Num Num Str Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call NameLoad NameLoad Str BinOpMod Str NameLoad Call AttributeLoad NameLoad attr NameLoad Dict Str Str decorator_list FunctionDef arguments args defaults body Assign NameStore Num Assign NameStore Dict Str Str Str Num Num Str Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call NameLoad NameLoad Str BinOpMod Str NameLoad Call AttributeLoad NameLoad attr NameLoad Dict Str Str Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad Str BinOpMod Str NameLoad Call AttributeLoad NameLoad attr NameLoad Dict Str Str decorator_list FunctionDef arguments args defaults body Assign NameStore Num Assign TupleStore NameStore NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad Str keyword NameLoad keyword Dict decorator_list
N/A N/A 
Unit tests for pypodio2.areas.Item (via pypodio2.client.Client). Works
by mocking httplib2, and making assertions about how pypodio2 calls
it.
 N/A N/A N/A json N/A N/A N/A ImportError N/A N/A simplejson json mock Mock nose.tools eq_ tests.utils check_client_method get_client_and_http URL_BASE test_find N/A N/A N/A N/A N/A item_id 9271 N/A N/A client check_assertions N/A check_client_method N/A result N/A N/A N/A client Item find item_id N/A N/A check_assertions result GET N/A /item/%s item_id N/A N/A client check_assertions N/A check_client_method N/A result N/A N/A N/A client Item find item_id basic True N/A N/A check_assertions result GET N/A /item/%s/basic item_id N/A test_filters N/A N/A N/A N/A N/A app_id 426 N/A attributes N/A a zzzz 1 12345 N/A N/A client check_assertions N/A check_client_method N/A result N/A N/A N/A client Item filter app_id attributes N/A N/A check_assertions result POST N/A /item/app/%s/filter/ app_id expected_body N/A N/A json dumps attributes expected_headers N/A content-type application/json N/A test_find_by_external_id N/A N/A N/A N/A N/A app_id 13 N/A external_id 37 N/A N/A client check_assertions N/A check_client_method N/A result N/A N/A N/A client Item find_all_by_external_id app_id external_id N/A N/A check_assertions result GET N/A /item/app/%s/v2/?external_id=%s N/A app_id external_id N/A test_revisions N/A N/A N/A N/A N/A item_id 255 N/A N/A client check_assertions N/A check_client_method N/A result N/A N/A N/A client Item revisions item_id N/A N/A check_assertions result GET N/A /item/%s/revision/ item_id N/A test_revision_difference N/A N/A N/A N/A N/A item_id 2 N/A from_id 4 N/A to_id 8 N/A N/A client check_assertions N/A check_client_method N/A result N/A N/A N/A client Item revision_difference item_id from_id to_id N/A N/A check_assertions result GET N/A /item/%s/revision/%s/%s N/A item_id from_id to_id N/A test_values N/A N/A N/A N/A N/A item_id 9271 N/A N/A client check_assertions N/A check_client_method N/A result N/A N/A N/A client Item values item_id N/A N/A check_assertions result GET N/A /item/%s/value item_id N/A test_values_v2 N/A N/A N/A N/A N/A item_id 9271 N/A N/A client check_assertions N/A check_client_method N/A result N/A N/A N/A client Item values_v2 item_id N/A N/A check_assertions result GET N/A /item/%s/value/v2 item_id N/A test_create N/A N/A N/A N/A N/A app_id 1 N/A attributes N/A 1 2 5 1 3 8 N/A N/A client check_assertions N/A check_client_method N/A result N/A N/A N/A client Item create app_id attributes N/A N/A check_assertions result POST N/A /item/app/%s/ app_id N/A N/A json dumps attributes N/A content-type application/json N/A test_update N/A N/A N/A N/A N/A app_id 1 N/A attributes N/A 1 2 5 1 3 8 N/A N/A client check_assertions N/A check_client_method N/A result N/A N/A N/A client Item update app_id attributes N/A N/A check_assertions result PUT N/A /item/%s app_id N/A N/A json dumps attributes N/A content-type application/json N/A N/A client check_assertions N/A check_client_method N/A result N/A N/A N/A client Item update app_id attributes silent True N/A N/A check_assertions result PUT N/A /item/%s?silent=true app_id N/A N/A json dumps attributes N/A content-type application/json N/A test_delete N/A N/A N/A N/A N/A item_id 1 N/A N/A client http N/A get_client_and_http N/A N/A http request N/A Mock return_value N/A None None N/A result N/A N/A N/A client Item delete item_id N/A N/A eq_ None result N/A N/A N/A N/A http request assert_called_once_with N/A %s/item/%s? N/A URL_BASE item_id DELETE body None headers N/A N/A