Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad TupleLoad Str NameLoad ListLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad TupleLoad Str Num ListLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad decorator_list decorator_list
N/A N/A 
Tests for L{twisted.names.tap}.
 twisted.trial.unittest TestCase twisted.python.usage UsageError twisted.names.tap Options _buildResolvers twisted.names.dns PORT twisted.names.secondary SecondaryAuthorityService twisted.names.resolve ResolverChain twisted.names.client Resolver OptionsTests N/A TestCase N/A N/A 
    Tests for L{Options}, defining how command line arguments for the DNS server
    are parsed.
     test_malformedSecondary N/A N/A self N/A N/A N/A 
        If the value supplied for an I{--secondary} option does not provide a
        server IP address, optional port number, and domain name,
        L{Options.parseOptions} raises L{UsageError}.
         N/A options N/A Options N/A N/A N/A self assertRaises UsageError N/A options parseOptions N/A --secondary N/A N/A N/A self assertRaises UsageError N/A options parseOptions N/A --secondary 1.2.3.4 N/A N/A N/A self assertRaises UsageError N/A options parseOptions N/A --secondary 1.2.3.4:hello N/A N/A N/A self assertRaises UsageError N/A options parseOptions N/A --secondary 1.2.3.4:hello/example.com N/A test_secondary N/A N/A self N/A N/A N/A 
        An argument of the form C{"ip/domain"} is parsed by L{Options} for the
        I{--secondary} option and added to its list of secondaries, using the
        default DNS port number.
         N/A options N/A Options N/A N/A N/A options parseOptions N/A --secondary 1.2.3.4/example.com N/A N/A N/A self assertEqual N/A N/A N/A 1.2.3.4 PORT N/A example.com N/A options secondaries N/A test_secondaryExplicitPort N/A N/A self N/A N/A N/A 
        An argument of the form C{"ip:port/domain"} can be used to specify an
        alternate port number for which to act as a secondary.
         N/A options N/A Options N/A N/A N/A options parseOptions N/A --secondary 1.2.3.4:5353/example.com N/A N/A N/A self assertEqual N/A N/A N/A 1.2.3.4 5353 N/A example.com N/A options secondaries N/A test_secondaryAuthorityServices N/A N/A self N/A N/A N/A 
        After parsing I{--secondary} options, L{Options} constructs a
        L{SecondaryAuthorityService} instance for each configured secondary.
         N/A options N/A Options N/A N/A N/A options parseOptions N/A --secondary 1.2.3.4:5353/example.com --secondary 1.2.3.5:5354/example.com N/A N/A N/A self assertEqual N/A len N/A options svcs 2 N/A secondary N/A N/A options svcs N/A 0 N/A N/A N/A self assertIsInstance N/A N/A options svcs N/A 0 SecondaryAuthorityService N/A N/A N/A self assertEqual N/A secondary primary 1.2.3.4 N/A N/A N/A self assertEqual N/A secondary _port 5353 N/A secondary N/A N/A options svcs N/A 1 N/A N/A N/A self assertIsInstance N/A N/A options svcs N/A 1 SecondaryAuthorityService N/A N/A N/A self assertEqual N/A secondary primary 1.2.3.5 N/A N/A N/A self assertEqual N/A secondary _port 5354 N/A test_recursiveConfiguration N/A N/A self N/A N/A N/A 
        Recursive DNS lookups, if enabled, should be a last-resort option.
        Any other lookup method (cache, local lookup, etc.) should take
        precedence over recursive lookups
         N/A options N/A Options N/A N/A N/A options parseOptions N/A --hosts-file hosts.txt --recursive N/A N/A ca cl N/A _buildResolvers options N/A x cl N/A N/A N/A isinstance x ResolverChain N/A N/A recurser N/A N/A x resolvers N/A -1 N/A N/A isinstance recurser Resolver N/A N/A N/A N/A N/A recurser _parseCall cancel N/A N/A N/A self assertIsInstance N/A cl N/A -1 ResolverChain N/A N/A