Module ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore ListLoad ListLoad Str Str Str Str ListLoad Str Str Str ListLoad Str NameLoad Str ListLoad Str NameLoad Str Str Assign NameStore ListLoad ListLoad Str Str Str ListLoad Str Str FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpMod Str TupleLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad Str attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore ListLoad ListLoad Str NameLoad Num Str NameLoad ListLoad Str NameLoad Num Str NameLoad ListLoad Str NameLoad NameLoad Str NameLoad ListLoad Str NameLoad NameLoad Str NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore ListLoad ListLoad Str NameLoad NameLoad Str Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list Assign NameStore ListLoad ListLoad Str NameLoad NameLoad Str NameLoad ListLoad Str NameLoad NameLoad Str NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Str attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Str attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Str attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore ListLoad TupleLoad Str Str Assign NameStore ListLoad TupleLoad Str Str Str Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore ListLoad TupleLoad Str Str Str TupleLoad Str Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore ListLoad TupleLoad Str NameLoad Str Assign NameStore ListLoad TupleLoad Str Str NameLoad Str TupleLoad Str Str NameLoad Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore ListLoad TupleLoad Str Str NameLoad Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases AttributeLoad NameLoad attr body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore ListLoad TupleLoad Str Str NameLoad Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore ListLoad TupleLoad Str Str NameLoad Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad Str attr Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr CompareGtE Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr CompareGtE Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A twisted.trial unittest twisted.python usage WellBehaved N/A N/A usage Options N/A N/A optParameters N/A N/A long w default and a docstring N/A another n no docstring N/A longonly None noshort N/A shortless None except this one got docstring N/A optFlags N/A N/A aflag f 

                 flagallicious docstringness for this here

                  N/A flout o opt_myflag N/A N/A self N/A N/A N/A N/A N/A self opts N/A myflag PONY! N/A opt_myparam N/A N/A self value N/A N/A N/A N/A N/A self opts N/A myparam N/A %s WITH A PONY! N/A value N/A N/A ParseCorrectnessTest N/A N/A unittest TestCase N/A N/A 
    Test Options.parseArgs for correct values under good conditions.
     setUp N/A N/A self N/A N/A N/A 
        Instantiate and parseOptions a well-behaved Options class.
         N/A N/A self niceArgV N/A N/A --long Alpha -n Beta --shortless Gamma -f --myflag --myparam Tofu split N/A N/A self nice N/A WellBehaved N/A N/A N/A N/A self nice parseOptions N/A self niceArgV N/A test_checkParameters N/A N/A self N/A N/A N/A 
        Checking that parameters have correct values.
         N/A N/A N/A self failUnlessEqual N/A N/A N/A self nice opts N/A long Alpha N/A N/A N/A self failUnlessEqual N/A N/A N/A self nice opts N/A another Beta N/A N/A N/A self failUnlessEqual N/A N/A N/A self nice opts N/A longonly noshort N/A N/A N/A self failUnlessEqual N/A N/A N/A self nice opts N/A shortless Gamma N/A test_checkFlags N/A N/A self N/A N/A N/A 
        Checking that flags have correct values.
         N/A N/A N/A self failUnlessEqual N/A N/A N/A self nice opts N/A aflag 1 N/A N/A N/A self failUnlessEqual N/A N/A N/A self nice opts N/A flout 0 N/A test_checkCustoms N/A N/A self N/A N/A N/A 
        Checking that custom flags and parameters have correct values.
         N/A N/A N/A self failUnlessEqual N/A N/A N/A self nice opts N/A myflag PONY! N/A N/A N/A self failUnlessEqual N/A N/A N/A self nice opts N/A myparam Tofu WITH A PONY! N/A N/A TypedOptions N/A N/A usage Options N/A N/A optParameters N/A N/A fooint None 392 Foo int int N/A foofloat None 4.23 Foo float float N/A eggint None None Egg int without default int N/A eggfloat None None Egg float without default float N/A TypedTestCase N/A N/A unittest TestCase N/A N/A 
    Test Options.parseArgs for options with forced types.
     setUp N/A N/A self N/A N/A N/A N/A self usage N/A TypedOptions N/A test_defaultValues N/A N/A self N/A N/A N/A 
        Test parsing of default values.
         N/A argV N/A N/A N/A N/A N/A self usage parseOptions argV N/A N/A N/A self failUnlessEqual N/A N/A N/A self usage opts N/A fooint 392 N/A N/A N/A self assert_ N/A isinstance N/A N/A N/A self usage opts N/A fooint int N/A N/A N/A self failUnlessEqual N/A N/A N/A self usage opts N/A foofloat 4.23 N/A N/A N/A self assert_ N/A isinstance N/A N/A N/A self usage opts N/A foofloat float N/A N/A N/A self failUnlessEqual N/A N/A N/A self usage opts N/A eggint None N/A N/A N/A self failUnlessEqual N/A N/A N/A self usage opts N/A eggfloat None N/A test_parsingValues N/A N/A self N/A N/A N/A 
        Test basic parsing of int and float values.
         N/A argV N/A N/A --fooint 912 --foofloat -823.1 --eggint 32 --eggfloat 21 split N/A N/A N/A N/A self usage parseOptions argV N/A N/A N/A self failUnlessEqual N/A N/A N/A self usage opts N/A fooint 912 N/A N/A N/A self assert_ N/A isinstance N/A N/A N/A self usage opts N/A fooint int N/A N/A N/A self failUnlessEqual N/A N/A N/A self usage opts N/A foofloat -823.1 N/A N/A N/A self assert_ N/A isinstance N/A N/A N/A self usage opts N/A foofloat float N/A N/A N/A self failUnlessEqual N/A N/A N/A self usage opts N/A eggint 32 N/A N/A N/A self assert_ N/A isinstance N/A N/A N/A self usage opts N/A eggint int N/A N/A N/A self failUnlessEqual N/A N/A N/A self usage opts N/A eggfloat 21.0 N/A N/A N/A self assert_ N/A isinstance N/A N/A N/A self usage opts N/A eggfloat float N/A test_invalidValues N/A N/A self N/A N/A N/A 
        Check that passing wrong values raises an error.
         N/A argV N/A N/A --fooint egg split N/A N/A N/A self assertRaises N/A usage UsageError N/A N/A self usage parseOptions argV N/A N/A WrongTypedOptions N/A N/A usage Options N/A N/A optParameters N/A N/A barwrong None None Bar with wrong coerce he N/A WeirdCallableOptions N/A N/A usage Options N/A _bar N/A N/A value N/A N/A N/A N/A RuntimeError Ouch N/A _foo N/A N/A value N/A N/A N/A N/A ValueError Yay N/A N/A optParameters N/A N/A barwrong None None Bar with strange callable _bar N/A foowrong None None Foo with strange callable _foo N/A WrongTypedTestCase N/A N/A unittest TestCase N/A N/A 
    Test Options.parseArgs for wrong coerce options.
     test_nonCallable N/A N/A self N/A N/A N/A 
        Check that using a non callable type fails.
         N/A us N/A WrongTypedOptions N/A argV N/A N/A --barwrong egg split N/A N/A N/A self assertRaises TypeError N/A us parseOptions argV N/A test_notCalledInDefault N/A N/A self N/A N/A N/A 
        Test that the coerce functions are not called if no values are
        provided.
         N/A us N/A WeirdCallableOptions N/A argV N/A N/A N/A N/A us parseOptions argV N/A test_weirdCallable N/A N/A self N/A N/A N/A 
        Test what happens when coerce functions raise errors.
         N/A us N/A WeirdCallableOptions N/A argV N/A N/A --foowrong blah split N/A e N/A N/A self assertRaises N/A usage UsageError N/A us parseOptions argV N/A N/A N/A self assertEquals N/A str e Parameter type enforcement failed: Yay N/A us N/A WeirdCallableOptions N/A argV N/A N/A --barwrong blah split N/A N/A N/A self assertRaises RuntimeError N/A us parseOptions argV N/A N/A OutputTest N/A N/A unittest TestCase N/A test_uppercasing N/A N/A self N/A N/A N/A 
        Error output case adjustment does not mangle options
         N/A opt N/A WellBehaved N/A e N/A N/A self assertRaises N/A usage UsageError N/A opt parseOptions N/A -Z N/A N/A N/A self assertEquals N/A str e option -Z not recognized N/A N/A InquisitionOptions N/A N/A usage Options N/A N/A optFlags N/A N/A expect e N/A optParameters N/A N/A torture-device t comfy-chair set preferred torture device N/A HolyQuestOptions N/A N/A usage Options N/A N/A optFlags N/A N/A horseback h use a horse N/A for-grail g N/A SubCommandOptions N/A N/A usage Options N/A N/A optFlags N/A N/A europian-swallow None set default swallow type to Europian N/A subCommands N/A N/A inquisition inquest InquisitionOptions Perform an inquisition N/A holyquest quest HolyQuestOptions Embark upon a holy quest N/A SubCommandTest N/A N/A unittest TestCase N/A test_simpleSubcommand N/A N/A self N/A N/A N/A o N/A SubCommandOptions N/A N/A N/A o parseOptions N/A --europian-swallow inquisition N/A N/A N/A self failUnlessEqual N/A o N/A europian-swallow True N/A N/A N/A self failUnlessEqual N/A o subCommand inquisition N/A N/A N/A self failUnless N/A isinstance N/A o subOptions InquisitionOptions N/A N/A N/A self failUnlessEqual N/A N/A o subOptions N/A expect False N/A N/A N/A self failUnlessEqual N/A N/A o subOptions N/A torture-device comfy-chair N/A test_subcommandWithFlagsAndOptions N/A N/A self N/A N/A N/A o N/A SubCommandOptions N/A N/A N/A o parseOptions N/A inquisition --expect --torture-device=feather N/A N/A N/A self failUnlessEqual N/A o N/A europian-swallow False N/A N/A N/A self failUnlessEqual N/A o subCommand inquisition N/A N/A N/A self failUnless N/A isinstance N/A o subOptions InquisitionOptions N/A N/A N/A self failUnlessEqual N/A N/A o subOptions N/A expect True N/A N/A N/A self failUnlessEqual N/A N/A o subOptions N/A torture-device feather N/A test_subcommandAliasWithFlagsAndOptions N/A N/A self N/A N/A N/A o N/A SubCommandOptions N/A N/A N/A o parseOptions N/A inquest --expect --torture-device=feather N/A N/A N/A self failUnlessEqual N/A o N/A europian-swallow False N/A N/A N/A self failUnlessEqual N/A o subCommand inquisition N/A N/A N/A self failUnless N/A isinstance N/A o subOptions InquisitionOptions N/A N/A N/A self failUnlessEqual N/A N/A o subOptions N/A expect True N/A N/A N/A self failUnlessEqual N/A N/A o subOptions N/A torture-device feather N/A test_anotherSubcommandWithFlagsAndOptions N/A N/A self N/A N/A N/A o N/A SubCommandOptions N/A N/A N/A o parseOptions N/A holyquest --for-grail N/A N/A N/A self failUnlessEqual N/A o N/A europian-swallow False N/A N/A N/A self failUnlessEqual N/A o subCommand holyquest N/A N/A N/A self failUnless N/A isinstance N/A o subOptions HolyQuestOptions N/A N/A N/A self failUnlessEqual N/A N/A o subOptions N/A horseback False N/A N/A N/A self failUnlessEqual N/A N/A o subOptions N/A for-grail True N/A test_noSubcommand N/A N/A self N/A N/A N/A o N/A SubCommandOptions N/A N/A N/A o parseOptions N/A --europian-swallow N/A N/A N/A self failUnlessEqual N/A o N/A europian-swallow True N/A N/A N/A self failUnlessEqual N/A o subCommand None N/A N/A N/A self failIf N/A hasattr o subOptions N/A test_defaultSubcommand N/A N/A self N/A N/A N/A o N/A SubCommandOptions N/A N/A o defaultSubCommand inquest N/A N/A N/A o parseOptions N/A --europian-swallow N/A N/A N/A self failUnlessEqual N/A o N/A europian-swallow True N/A N/A N/A self failUnlessEqual N/A o subCommand inquisition N/A N/A N/A self failUnless N/A isinstance N/A o subOptions InquisitionOptions N/A N/A N/A self failUnlessEqual N/A N/A o subOptions N/A expect False N/A N/A N/A self failUnlessEqual N/A N/A o subOptions N/A torture-device comfy-chair N/A test_subCommandParseOptionsHasParent N/A N/A self N/A N/A SubOpt N/A N/A usage Options N/A parseOptions N/A N/A self N/A a kw N/A N/A N/A self sawParent N/A self parent N/A N/A N/A N/A usage Options parseOptions self a kw N/A N/A Opt N/A N/A usage Options N/A N/A subCommands N/A N/A foo f SubOpt bar N/A N/A o N/A Opt N/A N/A N/A o parseOptions N/A foo N/A N/A N/A self failUnless N/A hasattr N/A o subOptions sawParent N/A N/A N/A self failUnlessEqual N/A N/A o subOptions sawParent o N/A test_subCommandInTwoPlaces N/A N/A self N/A N/A N/A 
        The .parent pointer is correct even when the same Options class is
        used twice.
         SubOpt N/A N/A usage Options N/A N/A N/A OptFoo N/A N/A usage Options N/A N/A subCommands N/A N/A foo f SubOpt quux N/A OptBar N/A N/A usage Options N/A N/A subCommands N/A N/A bar b SubOpt quux N/A N/A oFoo N/A OptFoo N/A N/A N/A oFoo parseOptions N/A foo N/A oBar N/A OptBar N/A N/A N/A oBar parseOptions N/A bar N/A N/A N/A self failUnless N/A hasattr N/A oFoo subOptions parent N/A N/A N/A self failUnless N/A hasattr N/A oBar subOptions parent N/A N/A N/A self failUnlessIdentical N/A N/A oFoo subOptions parent oFoo N/A N/A N/A self failUnlessIdentical N/A N/A oBar subOptions parent oBar N/A N/A HelpStringTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A 
        Instantiate a well-behaved Options class.
         N/A N/A self niceArgV N/A N/A --long Alpha -n Beta --shortless Gamma -f --myflag --myparam Tofu split N/A N/A self nice N/A WellBehaved N/A test_noGoBoom N/A N/A self N/A N/A N/A 
        __str__ shouldn't go boom.
         N/A N/A N/A N/A N/A N/A self nice __str__ N/A N/A N/A Exception N/A e N/A N/A N/A N/A self fail e N/A test_whitespaceStripFlagsAndParameters N/A N/A self N/A N/A N/A 
        Extra whitespace in flag and parameters docs is stripped.
         N/A lines N/A s N/A s N/A N/A N/A str N/A self nice splitlines N/A N/A N/A s find aflag 0 N/A N/A N/A self failUnless N/A N/A len lines 0 N/A N/A N/A self failUnless N/A N/A N/A N/A lines N/A 0 find flagallicious 0 N/A N/A PortCoerceTestCase N/A N/A unittest TestCase N/A N/A 
    Test the behavior of L{usage.portCoerce}.
     test_validCoerce N/A N/A self N/A N/A N/A 
        Test the answers with valid input.
         N/A N/A N/A self assertEquals 0 N/A N/A usage portCoerce 0 N/A N/A N/A self assertEquals 3210 N/A N/A usage portCoerce 3210 N/A N/A N/A self assertEquals 65535 N/A N/A usage portCoerce 65535 N/A test_errorCoerce N/A N/A self N/A N/A N/A 
        Test error path.
         N/A N/A N/A self assertRaises ValueError N/A usage portCoerce N/A N/A N/A self assertRaises ValueError N/A usage portCoerce -21 N/A N/A N/A self assertRaises ValueError N/A usage portCoerce 212189 N/A N/A N/A self assertRaises ValueError N/A usage portCoerce foo N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main