Back to index

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

List of all members.

Static Public Attributes

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

Detailed Description

Tests partial matching with a double-dash option string

Definition at line 371 of file test_argparse.py.


Member Data Documentation

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

Definition at line 374 of file test_argparse.py.

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

Definition at line 378 of file test_argparse.py.

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

Definition at line 379 of file test_argparse.py.


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