Module Import alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore TupleLoad NameLoad Str Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Num Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Num Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad keyword NameLoad keyword Dict keyword NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad keyword NameLoad keyword NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Num Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad keyword NameLoad keyword NameLoad decorator_list Call NameLoad Str decorator_list
N/A N/A unittest mock Mock patch nose.tools assert_equal assert_true tests.tools create_mock_json twilio.rest.resources.trunking.origination_urls OriginationUrls N/A ACCOUNT_SID ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa N/A AUTH N/A ACCOUNT_SID auth_token N/A BASE_URI https://trunking.twilio.com/v1/Trunks/TK11111111111111111111111111111111 OriginationUrlsTest N/A N/A unittest TestCase N/A test_get_origination_urls_lists N/A N/A self request N/A N/A N/A resp N/A create_mock_json tests/resources/trunking/origination_urls_list.json N/A N/A resp status_code 200 N/A N/A request return_value resp N/A origination_urls N/A OriginationUrls BASE_URI AUTH N/A result N/A N/A origination_urls list N/A N/A assert_equal N/A len result 1 N/A N/A assert_equal N/A N/A result N/A 0 sid OUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa N/A N/A assert_equal N/A N/A result N/A 0 account_sid ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa N/A N/A assert_equal N/A N/A result N/A 0 trunk_sid TK11111111111111111111111111111111 N/A N/A assert_equal N/A N/A result N/A 0 friendly_name Name N/A N/A assert_equal N/A N/A result N/A 0 sip_url sip:169.10.1.35 N/A N/A assert_equal N/A N/A result N/A 0 weight 10 N/A N/A assert_equal N/A N/A result N/A 0 priority 20 N/A N/A assert_true N/A N/A result N/A 0 enabled N/A N/A assert_equal N/A N/A result N/A 0 url N/A N/A {0}/OriginationUrls/OUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa format BASE_URI N/A N/A N/A request assert_called_with GET N/A N/A {0}/OriginationUrls format BASE_URI auth AUTH params N/A use_json_extension False N/A N/A patch twilio.rest.resources.base.make_twilio_request test_get_origination_urls_instance N/A N/A self request N/A N/A N/A resp N/A create_mock_json tests/resources/trunking/origination_urls_instance.json N/A N/A resp status_code 200 N/A N/A request return_value resp N/A origination_urls N/A OriginationUrls BASE_URI AUTH N/A result N/A N/A origination_urls get OUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa N/A N/A assert_equal N/A result sid OUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa N/A N/A assert_equal N/A result account_sid ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa N/A N/A assert_equal N/A result trunk_sid TK11111111111111111111111111111111 N/A N/A assert_equal N/A result friendly_name Name N/A N/A assert_equal N/A result sip_url sip:169.10.1.35 N/A N/A assert_equal N/A result weight 10 N/A N/A assert_equal N/A result priority 20 N/A N/A assert_true N/A result enabled N/A N/A assert_equal N/A result url N/A N/A {0}/OriginationUrls/OUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa format BASE_URI N/A N/A N/A request assert_called_with GET N/A N/A {0}/OriginationUrls/OUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa format BASE_URI auth AUTH use_json_extension False N/A N/A patch twilio.rest.resources.base.make_twilio_request test_create_origination_urls_instance N/A N/A self request N/A N/A N/A resp N/A create_mock_json tests/resources/trunking/origination_urls_instance.json N/A N/A resp status_code 201 N/A N/A request return_value resp N/A origination_urls N/A OriginationUrls BASE_URI AUTH N/A result N/A N/A origination_urls create Name sip:169.10.1.35 N/A N/A assert_equal N/A result sid OUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa N/A N/A assert_equal N/A result account_sid ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa N/A N/A assert_equal N/A result trunk_sid TK11111111111111111111111111111111 N/A N/A assert_equal N/A result friendly_name Name N/A N/A assert_equal N/A result sip_url sip:169.10.1.35 N/A N/A assert_equal N/A result weight 10 N/A N/A assert_equal N/A result priority 20 N/A N/A assert_true N/A result enabled N/A N/A assert_equal N/A result url N/A N/A {0}/OriginationUrls/OUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa format BASE_URI N/A data_dict N/A dict N/A N/A data_dict N/A FriendlyName Name N/A N/A data_dict N/A SipUrl sip:169.10.1.35 N/A N/A data_dict N/A Priority 10 N/A N/A data_dict N/A Weight 10 N/A N/A data_dict N/A Enabled true N/A N/A N/A request assert_called_with POST N/A N/A {0}/OriginationUrls format BASE_URI auth AUTH use_json_extension False data data_dict N/A N/A patch twilio.rest.resources.base.make_twilio_request test_update_origination_urls_instance N/A N/A self request N/A N/A N/A resp N/A create_mock_json tests/resources/trunking/origination_urls_instance.json N/A N/A resp status_code 200 N/A N/A request return_value resp N/A origination_urls N/A OriginationUrls BASE_URI AUTH N/A result N/A N/A origination_urls update OUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa N/A Priority 10 N/A N/A assert_equal N/A result sid OUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa N/A N/A assert_equal N/A result account_sid ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa N/A N/A assert_equal N/A result trunk_sid TK11111111111111111111111111111111 N/A N/A assert_equal N/A result friendly_name Name N/A N/A assert_equal N/A result sip_url sip:169.10.1.35 N/A N/A assert_equal N/A result weight 10 N/A N/A assert_equal N/A result priority 20 N/A N/A assert_true N/A result enabled N/A N/A assert_equal N/A result url N/A N/A {0}/OriginationUrls/OUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa format BASE_URI N/A data_dict N/A dict N/A N/A data_dict N/A Priority 10 N/A N/A N/A request assert_called_with POST N/A N/A {0}/OriginationUrls/OUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa format BASE_URI auth AUTH use_json_extension False data data_dict N/A N/A patch twilio.rest.resources.base.make_twilio_request test_delete_origination_urls_instance N/A N/A self request N/A N/A N/A resp N/A Mock N/A N/A resp status_code 204 N/A N/A request return_value resp N/A origination_urls N/A OriginationUrls BASE_URI AUTH N/A result N/A N/A origination_urls delete OUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa N/A N/A assert_true result N/A N/A N/A request assert_called_with DELETE N/A N/A {0}/OriginationUrls/OUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa format BASE_URI auth AUTH use_json_extension False N/A N/A patch twilio.rest.resources.base.make_twilio_request N/A