Back to index

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

List of all members.

Static Public Attributes

list argument_signatures = [Sig('--apple', action='store_true')]
list failures = ['a', '--apple=b', '--apple b']
list successes

Detailed Description

Tests the store_true action for an Optional

Definition at line 688 of file test_argparse.py.


Member Data Documentation

list test.test_argparse.TestOptionalsActionStoreTrue.argument_signatures = [Sig('--apple', action='store_true')] [static]

Definition at line 691 of file test_argparse.py.

list test.test_argparse.TestOptionalsActionStoreTrue.failures = ['a', '--apple=b', '--apple b'] [static]

Definition at line 692 of file test_argparse.py.

Initial value:
[
        ('', NS(apple=False)),
        ('--apple', NS(apple=True)),
    ]

Definition at line 693 of file test_argparse.py.


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