Module ImportFrom alias Import alias ImportFrom alias alias alias alias ImportFrom alias alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore TupleLoad NameLoad Str FunctionDef arguments args defaults body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call NameLoad NameLoad NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Call NameLoad Dict Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Call NameLoad Dict AttributeLoad AttributeLoad NameLoad attr attr ListLoad Dict Str Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str keyword Dict decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Call NameLoad Dict AttributeLoad AttributeLoad NameLoad attr attr ListLoad Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Call NameLoad Dict AttributeLoad AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Expr Call NameLoad Call NameLoad NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad NameLoad Dict Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str keyword Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad NameLoad Dict Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str keyword Dict decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Call NameLoad Dict Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Call NameLoad Dict Str Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Call NameLoad Dict Str Str Dict Str Str ListLoad Dict Str Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Expr Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Call NameLoad Dict Str Str Dict Str Str Str NameLoad ListLoad Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Expr Call NameLoad Call NameLoad NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Str Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Str TryExcept body Expr Call NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str NameLoad Str Assert CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr 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 Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Num Num Num Num Num Num keyword 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 keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr TupleLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad TupleLoad NameLoad Dict Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list Call NameLoad Str decorator_list
N/A datetime datetime N/A unittest mock Mock sentinel patch ANY nose.tools assert_equal assert_true N/A pytz six advance_iterator twilio.rest.resources.imports json twilio.rest.resources Resource NextGenListResource NextGenInstanceResource twilio.rest.resources ListResource twilio.rest.resources InstanceResource N/A base_uri https://api.twilio.com/2010-04-01 N/A account_sid AC123 N/A auth N/A account_sid token test_resource_init N/A N/A N/A N/A N/A r N/A Resource base_uri auth N/A uri N/A %s/%s N/A base_uri N/A r name N/A N/A assert_equal N/A r base_uri base_uri N/A N/A assert_equal N/A r auth auth N/A N/A assert_equal N/A r uri uri N/A test_equivalence N/A N/A N/A N/A N/A p N/A ListResource base_uri auth N/A r1 N/A N/A p load_instance N/A sid AC123 N/A r2 N/A N/A p load_instance N/A sid AC123 N/A N/A assert_equal r1 r2 N/A ListResourceTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self r N/A ListResource base_uri auth N/A testListResourceInit N/A N/A self N/A N/A N/A uri N/A %s/%s N/A base_uri N/A N/A self r name N/A N/A assert_equal N/A N/A self r uri uri N/A N/A assert_equal N/A str N/A self r <ListResource> N/A testKeyValueLower N/A N/A self N/A N/A N/A N/A assert_equal N/A N/A self r key N/A N/A N/A N/A self r name lower N/A testIterNoKey N/A N/A self N/A N/A N/A N/A N/A self r request N/A Mock N/A N/A N/A N/A self r request return_value N/A N/A Mock N/A N/A N/A N/A self assertRaises StopIteration advance_iterator N/A N/A N/A self r iter N/A testRequest N/A N/A self N/A N/A N/A N/A N/A self r request N/A Mock N/A N/A N/A N/A self r request return_value N/A N/A Mock N/A N/A N/A self r key N/A N/A sid foo N/A N/A advance_iterator N/A N/A N/A self r iter N/A N/A N/A N/A N/A self r request assert_called_with GET https://api.twilio.com/2010-04-01/Resources params N/A N/A testIterOneItem N/A N/A self N/A N/A N/A N/A N/A self r request N/A Mock N/A N/A N/A N/A self r request return_value N/A N/A Mock N/A N/A N/A self r key N/A N/A sid foo N/A items N/A N/A N/A self r iter N/A N/A advance_iterator items N/A N/A N/A self assertRaises StopIteration advance_iterator items N/A testIterNoNextPage N/A N/A self N/A N/A N/A N/A N/A self r request N/A Mock N/A N/A N/A N/A self r request return_value N/A N/A Mock N/A N/A N/A self r key N/A N/A N/A N/A self assertRaises StopIteration advance_iterator N/A N/A N/A self r iter N/A testKeyValue N/A N/A self N/A N/A N/A N/A N/A self r key Hey N/A N/A assert_equal N/A N/A self r key Hey N/A testInstanceLoading N/A N/A self N/A N/A N/A instance N/A N/A N/A self r load_instance N/A sid foo N/A N/A assert_true N/A isinstance instance InstanceResource N/A N/A assert_equal N/A instance sid foo N/A testListResourceCreateResponse200 N/A N/A self N/A N/A N/A We should accept 200 OK in response to a POST creating a resource. N/A N/A N/A self r request N/A Mock N/A return_value N/A Mock N/A N/A return_value status_code 200 N/A N/A N/A N/A self r request return_value N/A return_value N/A sid foo N/A N/A N/A N/A self r create_instance N/A N/A N/A N/A N/A N/A self r request assert_called_with POST https://api.twilio.com/2010-04-01/Resources data N/A N/A testListResourceCreateResponse201 N/A N/A self N/A N/A N/A We should accept 201 Created in response to a POST creating a resource. N/A N/A N/A self r request N/A Mock N/A return_value N/A Mock N/A N/A return_value status_code 201 N/A N/A N/A N/A self r request return_value N/A return_value N/A sid foo N/A N/A N/A N/A self r create_instance N/A N/A N/A N/A N/A N/A self r request assert_called_with POST https://api.twilio.com/2010-04-01/Resources data N/A N/A N/A NextGenListResourceTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self r N/A NextGenListResource base_uri auth N/A test_list_resource_init N/A N/A self N/A N/A N/A uri N/A %s/%s N/A base_uri N/A N/A self r name N/A N/A assert_equal N/A N/A self r uri uri N/A test_iter_no_key N/A N/A self N/A N/A N/A N/A N/A self r request N/A Mock N/A N/A N/A N/A self r request return_value N/A N/A Mock N/A N/A N/A N/A self assertRaises StopIteration advance_iterator N/A N/A N/A self r iter N/A test_iter_key_not_present N/A N/A self N/A N/A N/A N/A N/A self r request N/A Mock N/A N/A N/A N/A self r request return_value N/A N/A Mock N/A meta N/A key foobars N/A test_iter_request N/A N/A self N/A N/A N/A N/A N/A self r request N/A Mock N/A N/A N/A N/A self r request return_value N/A N/A Mock N/A meta foos N/A key foos N/A N/A sid 123 N/A item N/A advance_iterator N/A N/A N/A self r iter N/A N/A N/A N/A N/A self r request assert_called_with GET https://api.twilio.com/2010-04-01/Resources N/A N/A assert_equal N/A item sid 123 N/A test_iter_one_item N/A N/A self N/A N/A N/A N/A N/A self r request N/A Mock N/A N/A N/A N/A self r request return_value N/A N/A Mock N/A meta foos N/A key next_page_url foos None N/A N/A sid 123 N/A items N/A N/A N/A self r iter N/A N/A advance_iterator items N/A N/A N/A self assertRaises StopIteration advance_iterator items N/A test_instance_loading N/A N/A self N/A N/A N/A instance N/A N/A N/A self r load_instance N/A sid foo N/A N/A assert_true N/A isinstance instance NextGenInstanceResource N/A N/A assert_equal N/A instance sid foo N/A N/A testInstanceResourceInit N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self parent N/A ListResource base_uri auth N/A N/A self r N/A InstanceResource N/A self parent 123 N/A N/A self uri N/A %s/%s N/A N/A N/A self parent uri 123 N/A testInit N/A N/A self N/A N/A N/A N/A assert_equal N/A N/A self r uri N/A self uri N/A testLoad N/A N/A self N/A N/A N/A N/A N/A N/A self r load N/A hey you N/A N/A assert_equal N/A N/A self r hey you N/A testLoadWithUri N/A N/A self N/A N/A N/A N/A N/A N/A self r load N/A hey uri you foobar N/A N/A assert_equal N/A N/A self r hey you N/A N/A assert_equal N/A N/A self r uri N/A self uri N/A testLoadDateCreated N/A N/A self N/A N/A N/A N/A N/A N/A self r load N/A date_created uri Sat, 29 Sep 2012 12:47:54 +0000 foobar N/A N/A N/A N/A assert_true N/A hasattr N/A N/A self r date_created day N/A N/A assert_equal N/A N/A N/A self r date_created day 29 N/A N/A N/A AttributeError N/A N/A N/A testLoadNullDate N/A N/A self N/A N/A N/A N/A N/A N/A self r load N/A date_created uri None foobar N/A N/A N/A N/A self r date_created None N/A testLoadWithFrom N/A N/A self N/A N/A N/A N/A N/A N/A self r load N/A from foo N/A N/A assert_equal N/A N/A self r from_ foo N/A testLoadSubresources N/A N/A self N/A N/A N/A m N/A Mock N/A N/A N/A self r subresources N/A m N/A N/A N/A N/A self r load_subresources N/A N/A N/A m assert_called_with N/A N/A self r uri N/A N/A self r auth N/A N/A self r timeout N/A N/A NextGenInstanceResourceTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self parent N/A NextGenListResource base_uri auth N/A N/A self r N/A NextGenInstanceResource N/A self parent 123 N/A test_load N/A N/A self N/A N/A N/A N/A N/A N/A self r load N/A hey you N/A N/A assert_equal N/A N/A self r hey you N/A test_iso_date_parser N/A N/A self N/A N/A N/A N/A N/A N/A self r load N/A date_created 2015-01-01T00:00:00Z N/A N/A assert_equal N/A N/A self r date_created N/A datetime 2015 1 1 0 0 0 tzinfo N/A pytz utc N/A N/A testTimeoutPropagation N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self parent N/A ListResource base_uri auth timeout N/A sentinel timeout N/A N/A self r N/A InstanceResource N/A self parent 123 N/A N/A self uri N/A %s/%s N/A N/A N/A self parent uri 123 N/A testPassThrough N/A N/A self mock_request N/A N/A N/A mock_response N/A Mock N/A N/A mock_response ok N/A True N/A N/A mock_response content N/A N/A json dumps N/A key value N/A N/A mock_request return_value mock_response N/A N/A assert_equal N/A N/A self r timeout N/A sentinel timeout N/A N/A assert_equal N/A mock_response N/A key value N/A N/A N/A self r request GET base_uri N/A N/A N/A mock_request assert_called_once_with GET N/A base_uri .json headers ANY timeout N/A sentinel timeout auth ANY N/A N/A patch twilio.rest.resources.base.make_request N/A