Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Assign NameStore Call NameLoad keyword Call NameLoad keyword Call NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr While NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Yield TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Dict Expr Call AttributeLoad NameLoad attr ListComp TupleLoad BinOpAdd BinOpAdd NameLoad Str NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str keyword Num Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Expr Str decorator_list Expr Call AttributeLoad NameLoad attr Str AttributeLoad Call NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Pass decorator_list Expr Call AttributeLoad NameLoad attr Str AttributeLoad Call NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list decorator_list
N/A N/A Tests for samba.netcmd. cStringIO StringIO samba.netcmd Command samba.netcmd.testparm cmd_testparm samba.netcmd.main cmd_sambatool N/A samba.tests NetCmdTestCase N/A N/A N/A samba tests TestCase N/A run_netcmd N/A N/A self cmd_klass args retcode N/A 0 N/A N/A cmd N/A cmd_klass outf N/A StringIO errf N/A StringIO N/A N/A N/A retval N/A N/A cmd _run N/A cmd_klass __name__ args N/A N/A N/A Exception N/A e N/A N/A N/A N/A cmd show_command_error e N/A retval 1 N/A N/A N/A self assertEquals retcode retval N/A N/A N/A N/A N/A cmd outf getvalue N/A N/A N/A cmd errf getvalue N/A iter_all_subcommands N/A N/A self N/A N/A N/A todo N/A N/A N/A N/A todo extend N/A N/A N/A cmd_sambatool subcommands items N/A todo N/A N/A N/A path cmd N/A N/A todo pop N/A N/A N/A path cmd N/A subcmds N/A getattr cmd subcommands N/A N/A N/A N/A todo extend N/A N/A N/A N/A path k v N/A N/A k v N/A N/A subcmds iteritems N/A N/A TestParmTests N/A NetCmdTestCase N/A test_no_client_ip N/A N/A self N/A N/A N/A N/A out err N/A N/A self run_netcmd cmd_testparm N/A --client-name=foo retcode -1 N/A N/A N/A self assertEquals out N/A N/A N/A self assertEquals ERROR: Both a DNS name and an IP address are required for the host access check
 err N/A N/A CommandTests N/A NetCmdTestCase N/A test_description N/A N/A self N/A N/A cmd_foo N/A Command N/A N/A Mydescription N/A N/A N/A N/A self assertEquals Mydescription N/A N/A cmd_foo short_description N/A test_name N/A N/A self N/A N/A cmd_foo N/A Command N/A N/A N/A N/A N/A N/A self assertEquals foo N/A N/A cmd_foo name N/A test_synopsis_everywhere N/A N/A self N/A N/A N/A missing N/A N/A N/A path cmd N/A N/A self iter_all_subcommands N/A N/A N/A N/A cmd synopsis None N/A N/A N/A N/A missing append path N/A missing N/A N/A N/A N/A self fail N/A The following commands do not have a synopsis set: %r missing N/A test_short_description_everywhere N/A N/A self N/A N/A N/A missing N/A N/A N/A path cmd N/A N/A self iter_all_subcommands N/A N/A N/A N/A cmd short_description None N/A N/A N/A N/A missing append path N/A N/A missing N/A N/A N/A N/A N/A self fail N/A The following commands do not have a short description set: %r missing N/A N/A