pytest_output.actions
Custom argparse actions.
Classes
|
Parse JSON string and convert it in a dictionary. |
|
Parse key=value pairs and store it in a dictionary. |
- class pytest_output.actions.KeyValueAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)
Bases:
Action
Parse key=value pairs and store it in a dictionary.
- __call__(parser, namespace: Namespace, values, option_string=None)
Call self as a function.
- class pytest_output.actions.JSONAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)
Bases:
Action
Parse JSON string and convert it in a dictionary.
- __call__(parser, namespace: Namespace, values, option_string=None)
Call self as a function.