Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Return Call NameLoad decorator_list NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Print Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Index Num Str Expr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Raise NameLoad decorator_list NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Return Call NameLoad decorator_list NameLoad Assign NameStore Str With Call AttributeLoad NameLoad attr Str Dict Str Str Str Str Call AttributeLoad NameLoad attr Str Str Str body Assign NameStore Call NameLoad With Call AttributeLoad NameLoad attr NameLoad Str NameLoad body With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Call NameLoad keyword NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A os N/A sys N/A unittest iktomi.cli.lazy LazyCli iktomi.cli.base Cli manage cStringIO StringIO N/A N/A unittest.mock patch N/A N/A N/A ImportError N/A mock patch MyCli N/A Cli N/A N/A Example Cli class N/A called False command_run N/A N/A self arg N/A N/A N/A N/A self called arg N/A N/A LazyTests N/A N/A unittest TestCase N/A test_lazy_call N/A N/A self N/A N/A cli N/A N/A N/A N/A N/A N/A MyCli N/A LazyCli N/A N/A N/A self assertIsInstance N/A cli digest MyCli N/A N/A N/A cli description N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A cli description splitlines N/A 0 mycli N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A cli description splitlines N/A 1 Example Cli class N/A N/A cli run True N/A N/A N/A self assertTrue N/A N/A cli digest called N/A test_lazyness N/A N/A self N/A N/A cli N/A N/A N/A N/A N/A ValueError N/A LazyCli N/A N/A N/A self assertRaises ValueError N/A N/A N/A N/A N/A cli digest N/A test_lazy_autocomplete N/A N/A self N/A N/A cli N/A N/A N/A N/A N/A N/A MyCli N/A LazyCli N/A argv manage.py fruit: N/A N/A N/A patch dict os.environ N/A IKTOMI_AUTO_COMPLETE COMP_WORDS COMP_CWORD 1 N/A N/A argv replace :  :  2 N/A N/A out N/A StringIO N/A N/A N/A patch object sys stdout out N/A N/A N/A N/A self assertRaises SystemExit N/A N/A N/A manage N/A dict fruit cli N/A N/A argv split N/A N/A N/A self assertEqual run N/A N/A out getvalue N/A N/A