Back to index

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

List of all members.

Static Public Attributes

list argument_signatures
list failures = ['--bar', '--b', '--ba', '--b=2', '--badge 5']
list successes

Detailed Description

Tests when one double-dash option string is a prefix of another

Definition at line 389 of file test_argparse.py.


Member Data Documentation

Initial value:
[
        Sig('--badger', action='store_true'),
        Sig('--ba'),
    ]

Definition at line 392 of file test_argparse.py.

list test.test_argparse.TestOptionalsDoubleDashPrefixMatch.failures = ['--bar', '--b', '--ba', '--b=2', '--badge 5'] [static]

Definition at line 396 of file test_argparse.py.

Initial value:
[
        ('', NS(badger=False, ba=None)),
        ('--ba X', NS(badger=False, ba='X')),
        ('--ba=X', NS(badger=False, ba='X')),
        ('--bad', NS(badger=True, ba=None)),
        ('--badg', NS(badger=True, ba=None)),
        ('--badge', NS(badger=True, ba=None)),
        ('--badger', NS(badger=True, ba=None)),
    ]

Definition at line 397 of file test_argparse.py.


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