test_ok1/_pytest
Segev Finer f74f14f038 Fix --help with required options
This works by adding an argparse Action that will raise an exception in
order to skip the rest of the argument parsing. This prevents argparse
from quitting due to missing required arguments, similar to the way that
the builtin argparse --help option is implemented by raising SystemExit.

Fixes: #1999
2017-06-01 21:29:50 +03:00
..
_code Merge remote-tracking branch 'upstream/master' into merge-master-into-features 2017-05-03 19:04:53 -03:00
assertion Fixed #2121 Use `py.path`s fnmatch. This fixes an issue where 2017-05-31 08:25:04 +02:00
vendored_packages Revert subclassing explicitly from object introduced by accident in #2260 2017-02-18 10:34:41 -02:00
__init__.py fix import error 2017-04-26 15:57:55 +02:00
_argcomplete.py Revert refactor of old-style to new-style classes 2017-05-17 18:20:51 -03:00
_pluggy.py Add __future__ imports to all pytest modules 2017-03-16 22:45:40 -03:00
cacheprovider.py Make --cache-show output deterministic 2017-05-23 08:01:39 +02:00
capture.py Revert refactor of old-style to new-style classes 2017-05-17 18:20:51 -03:00
compat.py Add UnicodeWarning for unicode warnings in Python2 2017-05-26 13:12:02 +08:00
config.py Fix --help with required options 2017-06-01 21:29:50 +03:00
debugging.py Revert refactor of old-style to new-style classes 2017-05-17 18:20:51 -03:00
deprecated.py Add __future__ imports to all pytest modules 2017-03-16 22:45:40 -03:00
doctest.py Fix unicode issue while running doctests in Python 2 2017-05-26 07:35:14 -03:00
fixtures.py Revert refactor of old-style to new-style classes 2017-05-17 18:20:51 -03:00
freeze_support.py remove pytest_namespace from _pytest.freeze_support 2017-03-28 11:45:06 +02:00
helpconfig.py Fix --help with required options 2017-06-01 21:29:50 +03:00
hookspec.py add a note about the deprecation of the pytest_namespace hook 2017-03-28 11:45:06 +02:00
impl - enhance ordering of tests using parametrized resources 2012-08-01 09:07:32 +02:00
junitxml.py Transition to using ini option for suite name 2017-05-12 17:48:50 -03:00
main.py Revert refactor of old-style to new-style classes 2017-05-17 18:20:51 -03:00
mark.py Revert refactor of old-style to new-style classes 2017-05-17 18:20:51 -03:00
monkeypatch.py Revert refactor of old-style to new-style classes 2017-05-17 18:20:51 -03:00
nose.py fixup nose/pytest plugins 2017-03-28 11:45:06 +02:00
pastebin.py Add __future__ imports to all pytest modules 2017-03-16 22:45:40 -03:00
pytester.py Revert refactor of old-style to new-style classes 2017-05-17 18:20:51 -03:00
python.py Merge remote-tracking branch 'upstream/master' into merge-master-into-features 2017-05-03 19:04:53 -03:00
recwarn.py pytest.deprecated_call now captures PendingDeprecationWarning in context manager form 2017-05-30 12:52:18 -03:00
resultlog.py Replace py.builtin.print_() calls by builtin print() function 2017-03-16 22:46:51 -03:00
runner.py Revert refactor of old-style to new-style classes 2017-05-17 18:20:51 -03:00
setuponly.py Add __future__ imports to all pytest modules 2017-03-16 22:45:40 -03:00
setupplan.py Add __future__ imports to all pytest modules 2017-03-16 22:45:40 -03:00
skipping.py Revert refactor of old-style to new-style classes 2017-05-17 18:20:51 -03:00
terminal.py Revert refactor of old-style to new-style classes 2017-05-17 18:20:51 -03:00
tmpdir.py Revert refactor of old-style to new-style classes 2017-05-17 18:20:51 -03:00
unittest.py fixup nose/pytest plugins 2017-03-28 11:45:06 +02:00
warnings.py No longer override existing warning filters during warnings capture 2017-05-30 17:17:36 -03:00