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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 951 | runpytest | ref | function | result = pytester.runpytest(p1, "-l", "--tb=short")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 952 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 963 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 964 | makepyfile | ref | function | return pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 981 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 982 | runpytest | ref | function | result = pytester.runpytest(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 985 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 995 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,002 | get_plugin | ref | function | if not pytestconfig.pluginmanager.get_plugin("xdist"):
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,003 | skip | ref | function | pytest.skip("xdist plugin not installed")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,005 | delenv | ref | function | monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,006 | runpytest | ref | function | result = pytester.runpytest(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,009 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,014 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,015 | makepyfile | ref | function | p1 = pytester.makepyfile("def test_pass(): pass")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,016 | runpytest | ref | function | result = pytester.runpytest(p1, "-q")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,023 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,024 | makepyfile | ref | function | p1 = pytester.makepyfile("def test_pass(): pass")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,025 | runpytest | ref | function | result = pytester.runpytest(p1, "-qq")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,032 | parametrize | ref | function | @pytest.mark.parametrize(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,035 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,036 | makeconftest | ref | function | pytester.makeconftest(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,042 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,050 | runpytest | ref | function | result = pytester.runpytest(*params)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,051 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["collected 3 items", "hello from hook: 3 items"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,053 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,055 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,061 | runpytest | ref | function | result = pytester.runpytest("-rfF")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,063 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines([expected])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,066 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,068 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,077 | runpytest | ref | function | result = pytester.runpytest("-rsS")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,079 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines([expected])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,083 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,084 | setenv | ref | function | monkeypatch.setenv("COLUMNS", "80")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,085 | makepyfile | ref | function | pytester.makepyfile("def test_this(): assert 0, 'this_failed' * 100")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,086 | runpytest | ref | function | result = pytester.runpytest("-rN")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,087 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*short test summary*")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,088 | runpytest | ref | function | result = pytester.runpytest()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,089 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,097 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,098 | makepyfile | ref | function | pytester.makepyfile("def test_this(): assert 1")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,099 | runpytest | ref | function | result = pytester.runpytest("-rf")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,100 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*short test summary*")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,103 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,104 | makepyfile | ref | function | pytester.makepyfile("def test_this(): assert 1")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,105 | runpytest | ref | function | result = pytester.runpytest()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,106 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*short test summary*")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,107 | runpytest | ref | function | result = pytester.runpytest("-rp")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,108 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*test summary*", "PASS*test_pass_extra_reporting*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,111 | 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/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,112 | makepyfile | ref | function | pytester.makepyfile("def test_this(): assert 0")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,113 | runpytest | ref | function | result = pytester.runpytest("-rp")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,114 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*short test summary*")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,117 | test_pass_output_reporting | def | function | def test_pass_output_reporting(pytester: Pytester) -> None:
pytester.makepyfile(
"""
def setup_module():
print("setup_module")
def teardown_module():
print("teardown_module")
def test_pass_has_output():
print("Four score and seven years ago...")
... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,118 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,133 | runpytest | ref | function | result = pytester.runpytest()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,138 | runpytest | ref | function | result = pytester.runpytest("-rPp")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,139 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,157 | test_color_yes | def | function | def test_color_yes(pytester: Pytester, color_mapping) -> None:
p1 = pytester.makepyfile(
"""
def fail():
assert 0
def test_this():
fail()
"""
)
result = pytester.runpytest("--color=yes", str(p1))
result.stdout.fnmatch_lines(
color_mapping.... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,158 | makepyfile | ref | function | p1 = pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,167 | runpytest | ref | function | result = pytester.runpytest("--color=yes", str(p1))
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,168 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,169 | format_for_fnmatch | ref | function | color_mapping.format_for_fnmatch(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,194 | runpytest | ref | function | result = pytester.runpytest("--color=yes", "--tb=short", str(p1))
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,195 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,196 | format_for_fnmatch | ref | function | color_mapping.format_for_fnmatch(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,216 | test_color_no | def | function | def test_color_no(pytester: Pytester) -> None:
pytester.makepyfile("def test_this(): assert 1")
result = pytester.runpytest("--color=no")
assert "test session starts" in result.stdout.str()
result.stdout.no_fnmatch_line("*\x1b[1m*")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,217 | makepyfile | ref | function | pytester.makepyfile("def test_this(): assert 1")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,218 | runpytest | ref | function | result = pytester.runpytest("--color=no")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,220 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*\x1b[1m*")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,223 | parametrize | ref | function | @pytest.mark.parametrize("verbose", [True, False])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,224 | test_color_yes_collection_on_non_atty | def | function | def test_color_yes_collection_on_non_atty(pytester: Pytester, verbose) -> None:
"""#1397: Skip collect progress report when working on non-terminals."""
pytester.makepyfile(
"""
import pytest
@pytest.mark.parametrize('i', range(10))
def test_this(i):
assert 1
"""
... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,226 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,237 | runpytest | ref | function | result = pytester.runpytest(*args)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,240 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("*collecting 10 items*")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,246 | test_getreportopt | def | function | def test_getreportopt() -> None:
from _pytest.terminal import _REPORTCHARS_DEFAULT
class FakeConfig:
class Option:
reportchars = _REPORTCHARS_DEFAULT
disable_warnings = _False
option = Option()
config = cast(Config, FakeConfig())
assert _REPORTCHARS_DEFAULT ==... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,249 | FakeConfig | def | class | |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,250 | Option | def | class | __init__ args |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,254 | Option | ref | function | option = Option()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,256 | FakeConfig | ref | function | config = cast(Config, FakeConfig())
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,261 | getreportopt | ref | function | assert getreportopt(config) == "wfE"
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,264 | getreportopt | ref | function | assert getreportopt(config) == "wsf"
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,267 | getreportopt | ref | function | assert getreportopt(config) == "sfxw"
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,270 | getreportopt | ref | function | assert getreportopt(config) == "wsxXEf"
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,273 | getreportopt | ref | function | assert getreportopt(config) == "w"
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,276 | getreportopt | ref | function | assert getreportopt(config) == "wfE"
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,279 | getreportopt | ref | function | assert getreportopt(config) == "wx"
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,284 | getreportopt | ref | function | assert getreportopt(config) == "sxXEf"
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,287 | getreportopt | ref | function | assert getreportopt(config) == "sfx"
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,290 | getreportopt | ref | function | assert getreportopt(config) == "sfx"
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,293 | getreportopt | ref | function | assert getreportopt(config) == "sxXEf"
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,296 | getreportopt | ref | function | assert getreportopt(config) == "PpsxXEf"
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,299 | getreportopt | ref | function | assert getreportopt(config) == ""
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,302 | getreportopt | ref | function | assert getreportopt(config) == "fE"
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,305 | test_terminalreporter_reportopt_addopts | def | function | def test_terminalreporter_reportopt_addopts(pytester: Pytester) -> None:
pytester.makeini("[pytest]\naddopts=-rs")
pytester.makepyfile(
"""
import pytest
@pytest.fixture
def tr(request):
tr = request.config.pluginmanager.getplugin("terminalreporter")
retu... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,306 | makeini | ref | function | pytester.makeini("[pytest]\naddopts=-rs")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,307 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,320 | runpytest | ref | function | result = pytester.runpytest()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 1,321 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*1 passed*"])
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.