Back to index

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

List of all members.

Static Public Attributes

list argument_signatures = [Sig('-foobar'), Sig('-foorab')]
list failures = ['-f', '-f a', '-fa', '-foa', '-foo', '-fo', '-foo b']
list successes

Detailed Description

Test Optionals that partially match but are not subsets

Definition at line 328 of file test_argparse.py.


Member Data Documentation

Definition at line 331 of file test_argparse.py.

list test.test_argparse.TestOptionalsSingleDashAmbiguous.failures = ['-f', '-f a', '-fa', '-foa', '-foo', '-fo', '-foo b'] [static]

Definition at line 332 of file test_argparse.py.

Initial value:
[
        ('', NS(foobar=None, foorab=None)),
        ('-foob a', NS(foobar='a', foorab=None)),
        ('-foor a', NS(foobar=None, foorab='a')),
        ('-fooba a', NS(foobar='a', foorab=None)),
        ('-foora a', NS(foobar=None, foorab='a')),
        ('-foobar a', NS(foobar='a', foorab=None)),
        ('-foorab a', NS(foobar=None, foorab='a')),
    ]

Definition at line 333 of file test_argparse.py.


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