Module Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If BoolOpAnd NameLoad NameLoad body ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str If UnaryOpNot NameLoad body Assign NameStore Str If UnaryOpNot NameLoad body Assign NameStore Str Assign NameStore TupleLoad Str Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Call AttributeLoad NameLoad attr Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str Str NameLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Tests for L{twisted.conch.manhole_tap}.
 N/A N/A N/A cryptography N/A N/A N/A ImportError N/A N/A cryptography None N/A N/A N/A pyasn1 N/A N/A N/A ImportError N/A N/A pyasn1 None N/A N/A cryptography pyasn1 N/A twisted.conch manhole_tap manhole_ssh twisted.application.internet StreamServerEndpointService twisted.application.service MultiService twisted.cred error twisted.cred.credentials UsernamePassword twisted.conch telnet twisted.python usage twisted.trial.unittest TestCase MakeServiceTests N/A TestCase N/A N/A 
    Tests for L{manhole_tap.makeService}.
     N/A N/A cryptography N/A N/A skip can't run without cryptography N/A N/A pyasn1 N/A N/A skip Cannot run without PyASN1 N/A usernamePassword N/A iamuser thisispassword setUp N/A N/A self N/A N/A N/A 
        Create a passwd-like file with a user.
         N/A N/A self filename N/A N/A self mktemp N/A N/A open N/A self filename wb f N/A N/A N/A N/A f write N/A N/A : join N/A self usernamePassword N/A N/A self options N/A N/A manhole_tap Options N/A test_requiresPort N/A N/A self N/A N/A N/A 
        L{manhole_tap.makeService} requires either 'telnetPort' or 'sshPort' to
        be given.
         N/A N/A N/A self assertRaises N/A usage UsageError e N/A N/A N/A N/A N/A N/A manhole_tap Options parseOptions N/A N/A N/A N/A self assertEqual N/A N/A N/A e exception args N/A 0 At least one of --telnetPort and --sshPort must be specified N/A test_telnetPort N/A N/A self N/A N/A N/A 
        L{manhole_tap.makeService} will make a telnet service on the port
        defined by C{--telnetPort}. It will not make a SSH service.
         N/A N/A N/A N/A self options parseOptions N/A --telnetPort 222 N/A service N/A N/A manhole_tap makeService N/A self options N/A N/A N/A self assertIsInstance service MultiService N/A N/A N/A self assertEqual N/A len N/A service services 1 N/A N/A N/A self assertIsInstance N/A N/A service services N/A 0 StreamServerEndpointService N/A N/A N/A self assertIsInstance N/A N/A N/A N/A service services N/A 0 factory protocol N/A manhole_tap makeTelnetProtocol N/A N/A N/A self assertEqual N/A N/A N/A N/A service services N/A 0 endpoint _port 222 N/A test_sshPort N/A N/A self N/A N/A N/A 
        L{manhole_tap.makeService} will make a SSH service on the port
        defined by C{--sshPort}. It will not make a telnet service.
         N/A N/A N/A N/A self options parseOptions N/A --sshKeyDir N/A N/A self mktemp --sshKeySize 512 --sshPort 223 N/A service N/A N/A manhole_tap makeService N/A self options N/A N/A N/A self assertIsInstance service MultiService N/A N/A N/A self assertEqual N/A len N/A service services 1 N/A N/A N/A self assertIsInstance N/A N/A service services N/A 0 StreamServerEndpointService N/A N/A N/A self assertIsInstance N/A N/A N/A service services N/A 0 factory N/A manhole_ssh ConchFactory N/A N/A N/A self assertEqual N/A N/A N/A N/A service services N/A 0 endpoint _port 223 N/A test_passwd N/A N/A self N/A N/A N/A 
        The C{--passwd} command-line option will load a passwd-like file.
         N/A N/A N/A N/A self options parseOptions N/A --telnetPort 22 --passwd N/A self filename N/A service N/A N/A manhole_tap makeService N/A self options N/A portal N/A N/A N/A N/A N/A service services N/A 0 factory protocol portal N/A N/A N/A self assertEqual N/A len N/A N/A N/A portal checkers keys 2 N/A N/A N/A self assertTrue N/A N/A self successResultOf N/A N/A portal login N/A UsernamePassword N/A self usernamePassword None N/A telnet ITelnetProtocol N/A N/A N/A self assertIsInstance N/A N/A N/A self failureResultOf N/A N/A portal login N/A UsernamePassword wrong user None N/A telnet ITelnetProtocol value N/A error UnauthorizedLogin N/A N/A