Module Expr Str Import alias ImportFrom alias alias alias alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Call NameLoad Str Assign NameStore Str ClassDef bases NameLoad body Assign NameStore Call NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpAnd CompareEq NameLoad NameLoad CompareEq NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpAnd CompareEq NameLoad NameLoad CompareEq NameLoad AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Return BinOpAdd AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad Str Num AugAssignBitOr NameStore NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd BinOpBitAnd NameLoad AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad body AugAssignBitAnd AttributeStore NameLoad attr UnaryOpInvert AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If BinOpBitAnd NameLoad AttributeLoad NameLoad attr body If BinOpBitAnd NameLoad AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore Str orelse If BinOpBitAnd NameLoad AttributeLoad NameLoad attr body If BinOpBitAnd NameLoad AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore Str orelse Assign NameStore Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareGt Call NameLoad NameLoad Num CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If CompareEq SubscriptLoad NameLoad Slice Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Slice Call NameLoad AttributeLoad NameLoad attr If BoolOpOr CompareEq Call NameLoad NameLoad Num CompareNotEq SubscriptLoad NameLoad Index Num Str body Assign NameStore BinOpAdd Str NameLoad orelse Assign NameStore Str Return NameLoad decorator_list decorator_list
N/A N/A 
A stub SFTP server for loopback SFTP testing.
 N/A os paramiko ServerInterface SFTPServerInterface SFTPServer SFTPAttributes SFTPHandle SFTP_OK AUTH_SUCCESSFUL AUTH_FAILED OPEN_SUCCEEDED RSAKey paramiko.common o666 sftpclone.t.utils t_path N/A USERNAME test N/A PASSWORD secret N/A RSA_KEY N/A t_path id_rsa N/A SERVER_ROOT server_root StubServer N/A ServerInterface N/A N/A good_pub_key N/A RSAKey filename RSA_KEY check_auth_password N/A N/A self username password N/A N/A N/A N/A N/A username USERNAME N/A password PASSWORD N/A N/A AUTH_SUCCESSFUL N/A AUTH_FAILED N/A check_auth_publickey N/A N/A self username key N/A N/A N/A N/A N/A username USERNAME N/A key N/A self good_pub_key N/A N/A AUTH_SUCCESSFUL N/A AUTH_FAILED N/A check_channel_request N/A N/A self kind chanid N/A N/A N/A OPEN_SUCCEEDED N/A N/A StubSFTPHandle N/A SFTPHandle N/A stat N/A N/A self N/A N/A N/A N/A N/A N/A N/A SFTPAttributes from_stat N/A N/A os fstat N/A N/A N/A self readfile fileno N/A N/A N/A OSError N/A e N/A N/A N/A N/A SFTPServer convert_errno N/A e errno N/A chattr N/A N/A self attr N/A N/A N/A N/A N/A N/A N/A SFTPServer set_file_attr N/A self filename attr N/A SFTP_OK N/A N/A N/A OSError N/A e N/A N/A N/A N/A SFTPServer convert_errno N/A e errno N/A N/A StubSFTPServer N/A SFTPServerInterface N/A N/A ROOT N/A t_path SERVER_ROOT _realpath N/A N/A self path N/A N/A N/A N/A N/A self ROOT N/A N/A self canonicalize path N/A list_folder N/A N/A self path N/A N/A N/A path N/A N/A self _realpath path N/A N/A N/A out N/A N/A flist N/A N/A os listdir path N/A fname flist N/A N/A attr N/A N/A SFTPAttributes from_stat N/A N/A os lstat N/A N/A N/A os path join path fname N/A N/A attr filename N/A N/A fname encode utf-8 N/A N/A N/A out append attr N/A out N/A N/A N/A OSError N/A e N/A N/A N/A N/A SFTPServer convert_errno N/A e errno N/A stat N/A N/A self path N/A N/A N/A path N/A N/A self _realpath path N/A N/A N/A N/A N/A SFTPAttributes from_stat N/A N/A os stat path N/A N/A N/A OSError N/A e N/A N/A N/A N/A SFTPServer convert_errno N/A e errno N/A lstat N/A N/A self path N/A N/A N/A path N/A N/A self _realpath path N/A N/A N/A N/A N/A SFTPAttributes from_stat N/A N/A os lstat path N/A N/A N/A OSError N/A e N/A N/A N/A N/A SFTPServer convert_errno N/A e errno N/A open N/A N/A self path flags attr N/A N/A N/A path N/A N/A self _realpath path N/A N/A N/A binary_flag N/A getattr os O_BINARY 0 N/A flags binary_flag N/A mode N/A getattr attr st_mode None N/A N/A mode None N/A N/A fd N/A N/A os open path flags mode N/A N/A fd N/A N/A os open path flags o666 N/A N/A N/A OSError N/A e N/A N/A N/A N/A SFTPServer convert_errno N/A e errno N/A N/A N/A flags N/A os O_CREAT N/A attr None N/A N/A N/A attr _flags N/A N/A attr FLAG_PERMISSIONS N/A N/A N/A SFTPServer set_file_attr path attr N/A N/A flags N/A os O_WRONLY N/A N/A N/A flags N/A os O_APPEND N/A N/A fstr ab N/A N/A fstr wb N/A N/A N/A flags N/A os O_RDWR N/A N/A N/A flags N/A os O_APPEND N/A N/A fstr a+b N/A N/A fstr r+b N/A N/A fstr rb N/A N/A N/A f N/A N/A os fdopen fd fstr N/A N/A N/A OSError N/A e N/A N/A N/A N/A SFTPServer convert_errno N/A e errno N/A fobj N/A StubSFTPHandle flags N/A N/A fobj filename path N/A N/A fobj readfile f N/A N/A fobj writefile f N/A fobj N/A remove N/A N/A self path N/A N/A N/A path N/A N/A self _realpath path N/A N/A N/A N/A N/A os remove path N/A N/A N/A OSError N/A e N/A N/A N/A N/A SFTPServer convert_errno N/A e errno N/A SFTP_OK N/A rename N/A N/A self oldpath newpath N/A N/A N/A oldpath N/A N/A self _realpath oldpath N/A newpath N/A N/A self _realpath newpath N/A N/A N/A N/A N/A os rename oldpath newpath N/A N/A N/A OSError N/A e N/A N/A N/A N/A SFTPServer convert_errno N/A e errno N/A SFTP_OK N/A mkdir N/A N/A self path attr N/A N/A N/A path N/A N/A self _realpath path N/A N/A N/A N/A N/A os mkdir path N/A N/A attr None N/A N/A N/A N/A SFTPServer set_file_attr path attr N/A N/A N/A OSError N/A e N/A N/A N/A N/A SFTPServer convert_errno N/A e errno N/A SFTP_OK N/A rmdir N/A N/A self path N/A N/A N/A path N/A N/A self _realpath path N/A N/A N/A N/A N/A os rmdir path N/A N/A N/A OSError N/A e N/A N/A N/A N/A SFTPServer convert_errno N/A e errno N/A SFTP_OK N/A chattr N/A N/A self path attr N/A N/A N/A path N/A N/A self _realpath path N/A N/A N/A N/A N/A SFTPServer set_file_attr path attr N/A N/A N/A OSError N/A e N/A N/A N/A N/A SFTPServer convert_errno N/A e errno N/A SFTP_OK N/A symlink N/A N/A self target_path path N/A N/A N/A path N/A N/A self _realpath path N/A N/A N/A N/A len target_path 0 N/A N/A target_path N/A 0 / N/A N/A target_path N/A N/A N/A os path join N/A self ROOT N/A target_path N/A 1 N/A N/A N/A N/A N/A os symlink target_path path N/A N/A N/A OSError N/A e N/A N/A N/A N/A SFTPServer convert_errno N/A e errno N/A SFTP_OK N/A readlink N/A N/A self path N/A N/A N/A path N/A N/A self _realpath path N/A N/A N/A symlink N/A N/A os readlink path N/A N/A N/A OSError N/A e N/A N/A N/A N/A SFTPServer convert_errno N/A e errno N/A N/A N/A N/A os path isabs symlink N/A N/A N/A N/A symlink N/A N/A len N/A self ROOT N/A self ROOT N/A N/A symlink N/A symlink N/A N/A len N/A self ROOT N/A N/A N/A N/A len symlink 0 N/A N/A symlink N/A 0 / N/A N/A symlink N/A / symlink N/A N/A symlink <error> N/A symlink N/A N/A