Back to index

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

List of all members.

Static Public Attributes

list argument_signatures = [Sig('--baz', action='append', default=['X'])]
list failures = ['a', '--baz', 'a --baz', '--baz a b']
list successes

Detailed Description

Tests the append action for an Optional

Definition at line 711 of file test_argparse.py.


Member Data Documentation

list test.test_argparse.TestOptionalsActionAppendWithDefault.argument_signatures = [Sig('--baz', action='append', default=['X'])] [static]

Definition at line 714 of file test_argparse.py.

list test.test_argparse.TestOptionalsActionAppendWithDefault.failures = ['a', '--baz', 'a --baz', '--baz a b'] [static]

Definition at line 715 of file test_argparse.py.

Initial value:
[
        ('', NS(baz=['X'])),
        ('--baz a', NS(baz=['X', 'a'])),
        ('--baz a --baz b', NS(baz=['X', 'a', 'b'])),
    ]

Definition at line 716 of file test_argparse.py.


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