Back to index

python3.2  3.2.2
Static Public Attributes
test.test_argparse.TestOptionalsSingleDashSubsetAmbiguous Class Reference

List of all members.

Static Public Attributes

list argument_signatures = [Sig('-f'), Sig('-foobar'), Sig('-foorab')]
list failures = ['-f', '-foo', '-fo', '-foo b', '-foob', '-fooba', '-foora']
list successes

Detailed Description

Test Optionals where option strings are subsets of each other

Definition at line 312 of file

Member Data Documentation

Definition at line 315 of file

list test.test_argparse.TestOptionalsSingleDashSubsetAmbiguous.failures = ['-f', '-foo', '-fo', '-foo b', '-foob', '-fooba', '-foora'] [static]

Definition at line 316 of file

Initial value:
        ('', NS(f=None, foobar=None, foorab=None)),
        ('-f a', NS(f='a', foobar=None, foorab=None)),
        ('-fa', NS(f='a', foobar=None, foorab=None)),
        ('-foa', NS(f='oa', foobar=None, foorab=None)),
        ('-fooa', NS(f='ooa', foobar=None, foorab=None)),
        ('-foobar a', NS(f=None, foobar='a', foorab=None)),
        ('-foorab a', NS(f=None, foobar=None, foorab='a')),

Definition at line 317 of file

The documentation for this class was generated from the following file: