fname stringlengths 63 176 | rel_fname stringclasses 706
values | line int64 -1 4.5k | name stringlengths 1 81 | kind stringclasses 2
values | category stringclasses 2
values | info stringlengths 0 77.9k ⌀ |
|---|---|---|---|---|---|---|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 782 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 785 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["test_passes.py ..*", "* 2 pass*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 788 | test_header_trailer_info | def | function | def test_header_trailer_info(
self, monkeypatch: MonkeyPatch, pytester: Pytester, request
) -> None:
monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD")
pytester.makepyfile(
"""
def test_passes():
pass
"""
)
result = pytest... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 791 | delenv | ref | function | monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 792 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 798 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 800 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 814 | list_plugin_distinfo | ref | function | if request.config.pluginmanager.list_plugin_distinfo():
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 815 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["plugins: *"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 817 | test_no_header_trailer_info | def | function | def test_no_header_trailer_info(
self, monkeypatch: MonkeyPatch, pytester: Pytester, request
) -> None:
monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD")
pytester.makepyfile(
"""
def test_passes():
pass
"""
)
result = pyt... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 820 | delenv | ref | function | monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 821 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 827 | runpytest | ref | function | result = pytester.runpytest("--no-header")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 829 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 838 | list_plugin_distinfo | ref | function | if request.config.pluginmanager.list_plugin_distinfo():
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 839 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("plugins: *")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 841 | test_header | def | function | def test_header(self, pytester: Pytester) -> None:
pytester.path.joinpath("tests").mkdir()
pytester.path.joinpath("gui").mkdir()
# no ini file
result = pytester.runpytest()
result.stdout.fnmatch_lines(["rootdir: *test_header0"])
# with configfile
pytester.ma... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 846 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 847 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["rootdir: *test_header0"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 850 | makeini | ref | function | pytester.makeini("""[pytest]""")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 851 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 852 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["rootdir: *test_header0, configfile: tox.ini"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 855 | makeini | ref | function | pytester.makeini(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 861 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 862 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 867 | runpytest | ref | function | result = pytester.runpytest("tests")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 868 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["rootdir: *test_header0, configfile: tox.ini"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 870 | test_header_absolute_testpath | def | function | def test_header_absolute_testpath(
self, pytester: Pytester, monkeypatch: MonkeyPatch
) -> None:
"""Regresstion test for #7814."""
tests = pytester.path.joinpath("tests")
tests.mkdir()
pytester.makepyprojecttoml(
"""
[tool.pytest.ini_options]
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 876 | makepyprojecttoml | ref | function | pytester.makepyprojecttoml(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 884 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 885 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 893 | test_no_header | def | function | def test_no_header(self, pytester: Pytester) -> None:
pytester.path.joinpath("tests").mkdir()
pytester.path.joinpath("gui").mkdir()
# with testpaths option, and not passing anything in the command-line
pytester.makeini(
"""
[pytest]
testpaths = te... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 898 | makeini | ref | function | pytester.makeini(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 904 | runpytest | ref | function | result = pytester.runpytest("--no-header")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 905 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 910 | runpytest | ref | function | result = pytester.runpytest("tests", "--no-header")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 911 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("rootdir: *test_header0, inifile: tox.ini")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 913 | test_no_summary | def | function | def test_no_summary(self, pytester: Pytester) -> None:
p1 = pytester.makepyfile(
"""
def test_no_summary():
assert false
"""
)
result = pytester.runpytest(p1, "--no-summary")
result.stdout.no_fnmatch_line("*= FAILURES =*")
def test... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 914 | makepyfile | ref | function | p1 = pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 920 | runpytest | ref | function | result = pytester.runpytest(p1, "--no-summary")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 921 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*= FAILURES =*")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 923 | test_showlocals | def | function | def test_showlocals(self, pytester: Pytester) -> None:
p1 = pytester.makepyfile(
"""
def test_showlocals():
x = 3
y = "x" * 5000
assert 0
"""
)
result = pytester.runpytest(p1, "-l")
result.stdout.fnmatch_... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 924 | makepyfile | ref | function | p1 = pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 932 | runpytest | ref | function | result = pytester.runpytest(p1, "-l")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 933 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 941 | test_showlocals_short | def | function | def test_showlocals_short(self, pytester: Pytester) -> None:
p1 = pytester.makepyfile(
"""
def test_showlocals_short():
x = 3
y = "xxxx"
assert 0
"""
)
result = pytester.runpytest(p1, "-l", "--tb=short")
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 942 | makepyfile | ref | function | p1 = pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 950 | runpytest | ref | function | result = pytester.runpytest(p1, "-l", "--tb=short")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 951 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 962 | verbose_testfile | def | function | def verbose_testfile(self, pytester: Pytester) -> Path:
return pytester.makepyfile(
"""
import pytest
def test_fail():
raise ValueError()
def test_pass():
pass
class TestClass(object):
def test_skip(s... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 963 | makepyfile | ref | function | return pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 980 | test_verbose_reporting | def | function | def test_verbose_reporting(self, verbose_testfile, pytester: Pytester) -> None:
result = pytester.runpytest(
verbose_testfile, "-v", "-Walways::pytest.PytestWarning"
)
result.stdout.fnmatch_lines(
[
"*test_verbose_reporting.py::test_fail *FAIL*",
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 981 | runpytest | ref | function | result = pytester.runpytest(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 984 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 994 | test_verbose_reporting_xdist | def | function | def test_verbose_reporting_xdist(
self,
verbose_testfile,
monkeypatch: MonkeyPatch,
pytester: Pytester,
pytestconfig,
) -> None:
if not pytestconfig.pluginmanager.get_plugin("xdist"):
pytest.skip("xdist plugin not installed")
monkeypatch.delen... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,001 | get_plugin | ref | function | if not pytestconfig.pluginmanager.get_plugin("xdist"):
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,002 | skip | ref | function | pytest.skip("xdist plugin not installed")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,004 | delenv | ref | function | monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,005 | runpytest | ref | function | result = pytester.runpytest(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,008 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,013 | test_quiet_reporting | def | function | def test_quiet_reporting(self, pytester: Pytester) -> None:
p1 = pytester.makepyfile("def test_pass(): pass")
result = pytester.runpytest(p1, "-q")
s = result.stdout.str()
assert "test session starts" not in s
assert p1.name not in s
assert "===" not in s
asse... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,014 | makepyfile | ref | function | p1 = pytester.makepyfile("def test_pass(): pass")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,015 | runpytest | ref | function | result = pytester.runpytest(p1, "-q")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,022 | test_more_quiet_reporting | def | function | def test_more_quiet_reporting(self, pytester: Pytester) -> None:
p1 = pytester.makepyfile("def test_pass(): pass")
result = pytester.runpytest(p1, "-qq")
s = result.stdout.str()
assert "test session starts" not in s
assert p1.name not in s
assert "===" not in s
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,023 | makepyfile | ref | function | p1 = pytester.makepyfile("def test_pass(): pass")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,024 | runpytest | ref | function | result = pytester.runpytest(p1, "-qq")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,031 | parametrize | ref | function | @pytest.mark.parametrize(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,034 | test_report_collectionfinish_hook | def | function | def test_report_collectionfinish_hook(self, pytester: Pytester, params) -> None:
pytester.makeconftest(
"""
def pytest_report_collectionfinish(config, startpath, items):
return [f'hello from hook: {len(items)} items']
"""
)
pytester.makepyfile(... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,035 | makeconftest | ref | function | pytester.makeconftest(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,041 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,049 | runpytest | ref | function | result = pytester.runpytest(*params)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,050 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["collected 3 items", "hello from hook: 3 items"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,052 | test_summary_f_alias | def | function | def test_summary_f_alias(self, pytester: Pytester) -> None:
"""Test that 'f' and 'F' report chars are aliases and don't show up twice in the summary (#6334)"""
pytester.makepyfile(
"""
def test():
assert _False
"""
)
result = pytest... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,054 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,060 | runpytest | ref | function | result = pytester.runpytest("-rfF")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,062 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines([expected])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,065 | test_summary_s_alias | def | function | def test_summary_s_alias(self, pytester: Pytester) -> None:
"""Test that 's' and 'S' report chars are aliases and don't show up twice in the summary"""
pytester.makepyfile(
"""
import pytest
@pytest.mark.skip
def test():
pass
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,067 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,076 | runpytest | ref | function | result = pytester.runpytest("-rsS")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,078 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines([expected])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,082 | test_fail_extra_reporting | def | function | def test_fail_extra_reporting(pytester: Pytester, monkeypatch) -> None:
monkeypatch.setenv("COLUMNS", "80")
pytester.makepyfile("def test_this(): assert 0, 'this_failed' * 100")
result = pytester.runpytest("-rN")
result.stdout.no_fnmatch_line("*short test summary*")
result = pytester.runpytest()
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,083 | setenv | ref | function | monkeypatch.setenv("COLUMNS", "80")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,084 | makepyfile | ref | function | pytester.makepyfile("def test_this(): assert 0, 'this_failed' * 100")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,085 | runpytest | ref | function | result = pytester.runpytest("-rN")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,086 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*short test summary*")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,087 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,088 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,096 | test_fail_reporting_on_pass | def | function | def test_fail_reporting_on_pass(pytester: Pytester) -> None:
pytester.makepyfile("def test_this(): assert 1")
result = pytester.runpytest("-rf")
result.stdout.no_fnmatch_line("*short test summary*")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,097 | makepyfile | ref | function | pytester.makepyfile("def test_this(): assert 1")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,098 | runpytest | ref | function | result = pytester.runpytest("-rf")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,099 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*short test summary*")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,102 | test_pass_extra_reporting | def | function | def test_pass_extra_reporting(pytester: Pytester) -> None:
pytester.makepyfile("def test_this(): assert 1")
result = pytester.runpytest()
result.stdout.no_fnmatch_line("*short test summary*")
result = pytester.runpytest("-rp")
result.stdout.fnmatch_lines(["*test summary*", "PASS*test_pass_extra_repo... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,103 | makepyfile | ref | function | pytester.makepyfile("def test_this(): assert 1")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,104 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,105 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*short test summary*")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,106 | runpytest | ref | function | result = pytester.runpytest("-rp")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,107 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*test summary*", "PASS*test_pass_extra_reporting*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,110 | test_pass_reporting_on_fail | def | function | def test_pass_reporting_on_fail(pytester: Pytester) -> None:
pytester.makepyfile("def test_this(): assert 0")
result = pytester.runpytest("-rp")
result.stdout.no_fnmatch_line("*short test summary*")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,111 | makepyfile | ref | function | pytester.makepyfile("def test_this(): assert 0")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,112 | runpytest | ref | function | result = pytester.runpytest("-rp")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.