test_ok2/testing
Bruno Oliveira 0c18e24433 Introduce no_fnmatch_line/no_re_match_line in pytester
The current idiom is to use:

  assert re.match(pat, result.stdout.str())

Or

  assert line in result.stdout.str()

But this does not really give good results when it fails.

Those new functions produce similar output to ther other match lines functions.
2019-10-06 18:05:24 -03:00
..
code Handle --fulltrace with pytest.raises 2019-09-14 01:41:43 +02:00
example_scripts Validate xunit2 files against the schema 2019-08-09 10:55:06 -03:00
examples pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
freeze pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
io saferepr: Avoid indirect function calls 2019-07-15 17:07:58 +03:00
logging Show session duration in human-readable format 2019-08-10 10:45:53 -03:00
python Fix --setup-only and --setup-show for custom pytest items 2019-09-28 11:52:09 -03:00
acceptance_test.py Merge remote-tracking branch 'upstream/master' into mm 2019-08-15 10:03:52 -03:00
conftest.py Fix --setup-only and --setup-show for custom pytest items 2019-09-28 11:52:09 -03:00
deprecated_test.py Merge master into features 2019-08-02 16:52:51 +02:00
test_argcomplete.py pre-commit run pyupgrade --all-files 2019-06-03 12:08:02 -03:00
test_assertion.py Use ATTRS_EQ_FIELD for attrs 19.2 compat 2019-10-05 18:16:35 -07:00
test_assertrewrite.py assertrepr_compare: prefer same maxsize 2019-08-12 03:41:14 +02:00
test_cacheprovider.py initial conversion of exit codes to enum 2019-06-15 06:48:00 +02:00
test_capture.py Merge remote-tracking branch 'upstream/features' into merge-features-into-master 2019-06-25 12:07:54 -03:00
test_collection.py Fix RuntimeError when trying to collect package with "__init__.py" only 2019-08-05 17:52:21 +02:00
test_compat.py check that tests that are partial staticmethods are supported (#5701) 2019-08-15 09:12:01 -03:00
test_config.py Inject width via pylib to argparse formatter 2019-08-17 16:51:02 +02:00
test_conftest.py Use Path() objects to store conftest files 2019-09-12 08:05:50 -03:00
test_doctest.py docs: Document doctest +NUMBER limitation with strings 2019-07-11 10:06:57 +01:00
test_entry_points.py Replace importlib_metadata with importlib.metadata on Python 3.8+ 2019-07-04 15:00:10 +02:00
test_faulthandler.py Change pytest-faulthandler for simplification 2019-06-22 19:22:43 -03:00
test_helpconfig.py initial conversion of exit codes to enum 2019-06-15 06:48:00 +02:00
test_junitxml.py Remove xfail marker from test_runs_twice_xdist 2019-08-09 10:55:06 -03:00
test_mark.py Merge master into features 2019-08-02 16:52:51 +02:00
test_modimport.py pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
test_monkeypatch.py pre-commit run pyupgrade --all-files 2019-06-03 12:08:02 -03:00
test_nodes.py pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
test_nose.py didnt -> didn't 2019-08-01 15:10:39 +02:00
test_parseopt.py Make sure to quote `sys.executable` as we're running a shell 2019-09-23 08:58:56 -07:00
test_pastebin.py Fix "lexer" being used when uploading to bpaste.net 2019-08-30 15:34:03 -04:00
test_pathlib.py Switch from deprecated imp to importlib 2019-06-24 09:48:38 -07:00
test_pdb.py Fix for Python 4: replace unsafe PY3 with PY2 2019-09-05 18:06:47 +03:00
test_pluginmanager.py initial conversion of exit codes to enum 2019-06-15 06:48:00 +02:00
test_pytester.py Introduce no_fnmatch_line/no_re_match_line in pytester 2019-10-06 18:05:24 -03:00
test_recwarn.py Revert "Let context-managers for raises and warns handle unknown keyword arguments" 2019-07-14 14:28:21 +03:00
test_reports.py Serialize/deserialize chained exceptions 2019-08-29 20:23:44 -03:00
test_resultlog.py pre-commit run pyupgrade --all-files 2019-06-03 12:08:02 -03:00
test_runner.py Improve type-checking in OutcomeException 2019-07-09 18:26:57 -03:00
test_runner_xunit.py pre-commit run reorder-python-imports --all-files 2019-06-03 12:08:01 -03:00
test_session.py initial conversion of exit codes to enum 2019-06-15 06:48:00 +02:00
test_skipping.py Improve type-checking in OutcomeException 2019-07-09 18:26:57 -03:00
test_stepwise.py In test_xfail_handling, only remove __pycache__ if it exists 2019-07-26 02:23:14 +02:00
test_terminal.py Show session duration in human-readable format 2019-08-10 10:45:53 -03:00
test_tmpdir.py Merge master into features 2019-08-02 16:52:51 +02:00
test_unittest.py Merge master into features 2019-08-02 16:52:51 +02:00
test_warning_types.py Make pytest warnings show as from 'pytest' module instead of '_pytest.warning_types' 2019-06-15 11:48:34 -03:00
test_warnings.py Merge remote-tracking branch 'upstream/master' into mm 2019-08-15 10:03:52 -03:00