Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword Str keyword AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword Dict Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad keyword Str keyword Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Dict decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword AttributeLoad NameLoad attr keyword Str keyword Dict Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str ListLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body 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 decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Str keyword Dict Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign NameStore Dict Str ListLoad Str Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Str Assign NameStore Dict Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse If CompareEq NameLoad Str body Assign NameStore Str orelse Raise Call NameLoad BinOpMod Str NameLoad Return TupleLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse If CompareEq NameLoad Str body Assign NameStore Str orelse If CompareEq NameLoad Str body Return TupleLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str NameLoad Return TupleLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body If CompareNotEq NameLoad Str body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Dict Str BinOpMod Str NameLoad Return TupleLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return TupleLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr
N/A N/A sys N/A unittest N/A json libcloud.utils.py3 httplib libcloud.dns.base Record Zone libcloud.dns.drivers.powerdns PowerDNSDriver libcloud.dns.types ZoneDoesNotExistError ZoneAlreadyExistsError libcloud.dns.types RecordType libcloud.test LibcloudTestCase MockHttp libcloud.test.file_fixtures DNSFileFixtures PowerDNSTestCase N/A LibcloudTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A PowerDNSDriver connectionCls conn_classes N/A PowerDNSMockHttp PowerDNSMockHttp N/A N/A PowerDNSMockHttp type None N/A N/A self driver N/A PowerDNSDriver testsecret N/A N/A self test_zone N/A Zone id example.com. domain example.com driver N/A self driver type master ttl None extra N/A N/A N/A self test_record N/A Record id None name data 192.0.2.1 type N/A RecordType A zone N/A self test_zone driver N/A self driver extra N/A N/A test_create_record N/A N/A self N/A N/A N/A record N/A N/A N/A self test_zone create_record name newrecord.example.com type N/A RecordType A data 192.0.5.4 extra N/A ttl 86400 N/A N/A N/A self assertEqual N/A record id None N/A N/A N/A self assertEqual N/A record name newrecord.example.com N/A N/A N/A self assertEqual N/A record data 192.0.5.4 N/A N/A N/A self assertEqual N/A record type N/A RecordType A N/A N/A N/A self assertEqual N/A record ttl 86400 N/A test_create_zone N/A N/A self N/A N/A N/A extra N/A nameservers N/A ns1.example.org ns2.example.org N/A zone N/A N/A N/A self driver create_zone example.org extra extra N/A N/A N/A self assertEqual N/A zone id example.org. N/A N/A N/A self assertEqual N/A zone domain example.org N/A N/A N/A self assertEqual N/A zone type None N/A N/A N/A self assertEqual N/A zone ttl None N/A test_delete_record N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A self test_record delete N/A test_delete_zone N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A self test_zone delete N/A test_get_record N/A N/A self N/A N/A N/A N/A N/A self assertRaises NotImplementedError N/A N/A N/A N/A N/A self driver get_record example.com. 12345 N/A test_get_zone N/A N/A self N/A N/A N/A zone N/A N/A N/A self driver get_zone example.com. N/A N/A N/A self assertEqual N/A zone id example.com. N/A N/A N/A self assertEqual N/A zone domain example.com N/A N/A N/A self assertEqual N/A zone type None N/A N/A N/A self assertEqual N/A zone ttl None N/A test_list_record_types N/A N/A self N/A N/A N/A result N/A N/A N/A self driver list_record_types N/A N/A N/A self assertEqual N/A len result 23 N/A test_list_records N/A N/A self N/A N/A N/A records N/A N/A N/A self driver list_records N/A self test_zone N/A N/A N/A self assertEqual N/A len records 4 N/A test_list_zones N/A N/A self N/A N/A N/A zones N/A N/A N/A self driver list_zones N/A N/A N/A self assertEqual N/A N/A zones N/A 0 id example.com. N/A N/A N/A self assertEqual N/A N/A zones N/A 0 domain example.com N/A N/A N/A self assertEqual N/A N/A zones N/A 0 type None N/A N/A N/A self assertEqual N/A N/A zones N/A 0 ttl None N/A N/A N/A self assertEqual N/A N/A zones N/A 1 id example.net. N/A N/A N/A self assertEqual N/A N/A zones N/A 1 domain example.net N/A N/A N/A self assertEqual N/A N/A zones N/A 1 type None N/A N/A N/A self assertEqual N/A N/A zones N/A 1 ttl None N/A test_update_record N/A N/A self N/A N/A N/A record N/A N/A N/A self driver update_record N/A self test_record name newrecord.example.com type N/A RecordType A data 127.0.0.1 extra N/A ttl 300 N/A N/A N/A self assertEqual N/A record id None N/A N/A N/A self assertEqual N/A record name newrecord.example.com N/A N/A N/A self assertEqual N/A record data 127.0.0.1 N/A N/A N/A self assertEqual N/A record type N/A RecordType A N/A N/A N/A self assertEqual N/A record ttl 300 N/A test_update_zone N/A N/A self N/A N/A N/A N/A N/A self assertRaises NotImplementedError N/A N/A N/A N/A N/A self driver update_zone N/A self test_zone example.net N/A test_create_existing_zone N/A N/A self N/A N/A N/A N/A PowerDNSMockHttp type EXISTS N/A extra N/A nameservers N/A ns1.example.com ns2.example.com N/A N/A N/A self assertRaises ZoneAlreadyExistsError N/A N/A N/A N/A N/A self driver create_zone example.com extra extra N/A test_get_missing_zone N/A N/A self N/A N/A N/A N/A PowerDNSMockHttp type MISSING N/A N/A N/A self assertRaises ZoneDoesNotExistError N/A N/A N/A N/A N/A self driver get_zone example.com. N/A test_delete_missing_record N/A N/A self N/A N/A N/A N/A PowerDNSMockHttp type MISSING N/A N/A N/A self assertFalse N/A N/A N/A self test_record delete N/A test_delete_missing_zone N/A N/A self N/A N/A N/A N/A PowerDNSMockHttp type MISSING N/A N/A N/A self assertFalse N/A N/A N/A self test_zone delete N/A N/A PowerDNSMockHttp N/A MockHttp N/A N/A fixtures N/A DNSFileFixtures powerdns N/A base_headers N/A content-type application/json _servers_localhost_zones N/A N/A self method url body headers N/A N/A N/A N/A method GET N/A N/A body N/A N/A N/A self fixtures load list_zones.json N/A N/A N/A method POST N/A N/A body N/A N/A N/A NotImplementedError N/A Unexpected method: %s method N/A N/A N/A httplib OK body N/A self base_headers N/A N/A httplib responses N/A N/A httplib OK N/A _servers_localhost_zones_example_com_ N/A N/A self method N/A args kwargs N/A N/A N/A method GET N/A N/A body N/A N/A N/A self fixtures load list_records.json N/A N/A N/A method PATCH N/A N/A body N/A N/A N/A method DELETE N/A N/A N/A N/A httplib NO_CONTENT N/A self base_headers N/A N/A httplib responses N/A N/A httplib NO_CONTENT N/A N/A N/A NotImplementedError N/A Unexpected method: %s method N/A N/A N/A httplib OK body N/A self base_headers N/A N/A httplib responses N/A N/A httplib OK N/A _servers_localhost_zones_EXISTS N/A N/A self method url body headers N/A N/A N/A N/A method POST N/A N/A N/A NotImplementedError N/A Unexpected method: %s method N/A payload N/A N/A json loads body N/A domain N/A payload N/A name N/A body N/A N/A json dumps N/A error N/A Domain '%s' already exists domain N/A N/A N/A httplib UNPROCESSABLE_ENTITY body N/A self base_headers Unprocessable Entity N/A _servers_localhost_zones_example_com__MISSING N/A N/A self N/A args kwargs N/A N/A N/A N/A httplib UNPROCESSABLE_ENTITY Could not find domain N/A self base_headers Unprocessable Entity N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A sys exit N/A N/A unittest main