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_config.py | testing/test_config.py | 1,693 | runpytest | ref | function | result = pytester.runpytest("-o", "foo=1", "-o", "bar=0", "test_foo.py")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,695 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["collected 1 item", "*= 1 passed in *="])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,698 | test_help_via_addopts | def | function | def test_help_via_addopts(pytester: Pytester) -> None:
pytester.makeini(
"""
[pytest]
addopts = --unknown-option-should-allow-for-help --help
"""
)
result = pytester.runpytest()
assert result.ret == 0
result.stdout.fnmatch_lines(
[
"usage: *",
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,699 | makeini | ref | function | pytester.makeini(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,705 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,707 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,717 | test_help_and_version_after_argument_error | def | function | def test_help_and_version_after_argument_error(pytester: Pytester) -> None:
pytester.makeconftest(
"""
def validate(arg):
raise argparse.ArgumentTypeError("argerror")
def pytest_addoption(parser):
group = parser.getgroup('cov')
group.addoption(
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,718 | makeconftest | ref | function | pytester.makeconftest(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,731 | makeini | ref | function | pytester.makeini(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,737 | runpytest | ref | function | result = pytester.runpytest("--help")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,738 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,745 | fnmatch_lines | ref | function | result.stderr.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,756 | runpytest | ref | function | result = pytester.runpytest("--version")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,757 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines([f"pytest {pytest.__version__}"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,761 | test_help_formatter_uses_py_get_terminal_width | def | function | def test_help_formatter_uses_py_get_terminal_width(monkeypatch: MonkeyPatch) -> None:
from _pytest.config.argparsing import DropShorterLongHelpFormatter
monkeypatch.setenv("COLUMNS", "90")
formatter = DropShorterLongHelpFormatter("prog")
assert formatter._width == 90
monkeypatch.setattr("_pytest._... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,764 | setenv | ref | function | monkeypatch.setenv("COLUMNS", "90")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,765 | DropShorterLongHelpFormatter | ref | function | formatter = DropShorterLongHelpFormatter("prog")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,769 | DropShorterLongHelpFormatter | ref | function | formatter = DropShorterLongHelpFormatter("prog")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,772 | DropShorterLongHelpFormatter | ref | function | formatter = DropShorterLongHelpFormatter("prog", width=42)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,776 | test_config_does_not_load_blocked_plugin_from_args | def | function | def test_config_does_not_load_blocked_plugin_from_args(pytester: Pytester) -> None:
"""This tests that pytest's config setup handles "-p no:X"."""
p = pytester.makepyfile("def test(capfd): pass")
result = pytester.runpytest(str(p), "-pno:capture")
result.stdout.fnmatch_lines(["E fixture 'capfd' no... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,778 | makepyfile | ref | function | p = pytester.makepyfile("def test(capfd): pass")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,779 | runpytest | ref | function | result = pytester.runpytest(str(p), "-pno:capture")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,780 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["E fixture 'capfd' not found"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,783 | runpytest | ref | function | result = pytester.runpytest(str(p), "-pno:capture", "-s")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,784 | fnmatch_lines | ref | function | result.stderr.fnmatch_lines(["*: error: unrecognized arguments: -s"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,788 | test_invocation_args | def | function | def test_invocation_args(pytester: Pytester) -> None:
"""Ensure that Config.invocation_* arguments are correctly defined"""
class DummyPlugin:
pass
p = pytester.makepyfile("def test(): pass")
plugin = DummyPlugin()
rec = pytester.inline_run(p, "-v", plugins=[plugin])
calls = rec.getcal... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,791 | DummyPlugin | def | class | |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,794 | makepyfile | ref | function | p = pytester.makepyfile("def test(): pass")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,795 | DummyPlugin | ref | function | plugin = DummyPlugin()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,796 | inline_run | ref | function | rec = pytester.inline_run(p, "-v", plugins=[plugin])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,797 | getcalls | ref | function | calls = rec.getcalls("pytest_runtest_protocol")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,811 | raises | ref | function | with pytest.raises(TypeError):
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,812 | InvocationParams | ref | function | Config.InvocationParams(args=None, plugins=None, dir=Path()) # type: ignore[arg-type]
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,815 | parametrize | ref | function | @pytest.mark.parametrize(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,823 | test_config_blocked_default_plugins | def | function | def test_config_blocked_default_plugins(pytester: Pytester, plugin: str) -> None:
if plugin == "debugging":
# Fixed in xdist (after 1.27.0).
# https://github.com/pytest-dev/pytest-xdist/pull/422
try:
import xdist # noqa: F401
except ImportError:
pass
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,832 | skip | ref | function | pytest.skip("does not work with xdist currently")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,834 | makepyfile | ref | function | p = pytester.makepyfile("def test(): pass")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,835 | runpytest | ref | function | result = pytester.runpytest(str(p), "-pno:%s" % plugin)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,839 | fnmatch_lines | ref | function | result.stderr.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,849 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["* 1 passed in *"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,851 | makepyfile | ref | function | p = pytester.makepyfile("def test(): assert 0")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,852 | runpytest | ref | function | result = pytester.runpytest(str(p), "-pno:%s" % plugin)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,855 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["* 1 failed in *"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,860 | TestSetupCfg | def | class | test_pytest_setup_cfg_unsupported test_pytest_custom_cfg_unsupported |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,861 | test_pytest_setup_cfg_unsupported | def | function | def test_pytest_setup_cfg_unsupported(self, pytester: Pytester) -> None:
pytester.makefile(
".cfg",
setup="""
[pytest]
addopts = --verbose
""",
)
with pytest.raises(pytest.fail.Exception):
pytester.runpytest()
def test_... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,862 | makefile | ref | function | pytester.makefile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,869 | raises | ref | function | with pytest.raises(pytest.fail.Exception):
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,870 | runpytest | ref | function | pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,872 | test_pytest_custom_cfg_unsupported | def | function | def test_pytest_custom_cfg_unsupported(self, pytester: Pytester) -> None:
pytester.makefile(
".cfg",
custom="""
[pytest]
addopts = --verbose
""",
)
with pytest.raises(pytest.fail.Exception):
pytester.runpytest("-c", "custom.... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,873 | makefile | ref | function | pytester.makefile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,880 | raises | ref | function | with pytest.raises(pytest.fail.Exception):
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,881 | runpytest | ref | function | pytester.runpytest("-c", "custom.cfg")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,884 | TestPytestPluginsVariable | def | class | test_pytest_plugins_in_non_top_level_conftest_unsupported test_pytest_plugins_in_non_top_level_conftest_unsupported_pyargs test_pytest_plugins_in_non_top_level_conftest_unsupported_no_top_level_conftest test_pytest_plugins_in_non_top_level_conftest_unsupported_no_false_positives |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,885 | test_pytest_plugins_in_non_top_level_conftest_unsupported | def | function | def test_pytest_plugins_in_non_top_level_conftest_unsupported(
self, pytester: Pytester
) -> None:
pytester.makepyfile(
**{
"subdirectory/conftest.py": """
pytest_plugins=['capture']
"""
}
)
pytester.makepyfile(
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,888 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,895 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,901 | runpytest | ref | function | res = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,904 | fnmatch_lines | ref | function | res.stdout.fnmatch_lines([f"*{msg}*", f"*subdirectory{os.sep}conftest.py*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,906 | parametrize | ref | function | @pytest.mark.parametrize("use_pyargs", [True, False])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,907 | test_pytest_plugins_in_non_top_level_conftest_unsupported_pyargs | def | function | def test_pytest_plugins_in_non_top_level_conftest_unsupported_pyargs(
self, pytester: Pytester, use_pyargs: bool
) -> None:
"""When using --pyargs, do not emit the warning about non-top-level conftest warnings (#4039, #4044)"""
files = {
"src/pkg/__init__.py": "",
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,920 | makepyfile | ref | function | pytester.makepyfile(**files)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,921 | syspathinsert | ref | function | pytester.syspathinsert(pytester.path.joinpath("src"))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,924 | runpytest | ref | function | res = pytester.runpytest(*args)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,932 | fnmatch_lines | ref | function | res.stdout.fnmatch_lines([f"*{msg}*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,934 | test_pytest_plugins_in_non_top_level_conftest_unsupported_no_top_level_conftest | def | function | def test_pytest_plugins_in_non_top_level_conftest_unsupported_no_top_level_conftest(
self, pytester: Pytester
) -> None:
subdirectory = pytester.path.joinpath("subdirectory")
subdirectory.mkdir()
pytester.makeconftest(
"""
pytest_plugins=['capture']
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,939 | makeconftest | ref | function | pytester.makeconftest(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,948 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,955 | runpytest_subprocess | ref | function | res = pytester.runpytest_subprocess()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,958 | fnmatch_lines | ref | function | res.stdout.fnmatch_lines([f"*{msg}*", f"*subdirectory{os.sep}conftest.py*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,960 | test_pytest_plugins_in_non_top_level_conftest_unsupported_no_false_positives | def | function | def test_pytest_plugins_in_non_top_level_conftest_unsupported_no_false_positives(
self, pytester: Pytester
) -> None:
pytester.makepyfile(
"def test_func(): pass",
**{
"subdirectory/conftest": "pass",
"conftest": """
imp... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,963 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,974 | runpytest_subprocess | ref | function | res = pytester.runpytest_subprocess()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,980 | test_conftest_import_error_repr | def | function | def test_conftest_import_error_repr(tmp_path: Path) -> None:
"""`ConftestImportFailure` should use a short error message and readable
path to the failed conftest.py file."""
path = tmp_path.joinpath("foo/conftest.py")
with pytest.raises(
ConftestImportFailure,
match=re.escape(f"RuntimeEr... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,984 | raises | ref | function | with pytest.raises(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,993 | ConftestImportFailure | ref | function | raise ConftestImportFailure(path, exc_info) from exc
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,996 | test_strtobool | def | function | def test_strtobool() -> None:
assert _strtobool("YES")
assert not _strtobool("NO")
with pytest.raises(ValueError):
_strtobool("unknown")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,997 | _strtobool | ref | function | assert _strtobool("YES")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,998 | _strtobool | ref | function | assert not _strtobool("NO")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 1,999 | raises | ref | function | with pytest.raises(ValueError):
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,000 | _strtobool | ref | function | _strtobool("unknown")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,003 | parametrize | ref | function | @pytest.mark.parametrize(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,031 | test_parse_warning_filter | def | function | def test_parse_warning_filter(
arg: str, escape: bool, expected: Tuple[str, str, Type[Warning], str, int]
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,034 | parse_warning_filter | ref | function | assert parse_warning_filter(arg, escape=escape) == expected
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,037 | parametrize | ref | function | @pytest.mark.parametrize(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,054 | test_parse_warning_filter_failure | def | function | def test_parse_warning_filter_failure(arg: str) -> None:
with pytest.raises(pytest.UsageError):
parse_warning_filter(arg, escape=_True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,055 | raises | ref | function | with pytest.raises(pytest.UsageError):
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,056 | parse_warning_filter | ref | function | parse_warning_filter(arg, escape=True)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,059 | TestDebugOptions | def | class | test_without_debug_does_not_write_log test_with_only_debug_writes_pytestdebug_log test_multiple_custom_debug_logs test_debug_help |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,060 | test_without_debug_does_not_write_log | def | function | def test_without_debug_does_not_write_log(self, pytester: Pytester) -> None:
result = pytester.runpytest()
result.stderr.no_fnmatch_line(
"*writing pytest debug information to*pytestdebug.log"
)
result.stderr.no_fnmatch_line(
"*wrote pytest debug information t... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,061 | runpytest | ref | function | result = pytester.runpytest()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,062 | no_fnmatch_line | ref | function | result.stderr.no_fnmatch_line(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,065 | no_fnmatch_line | ref | function | result.stderr.no_fnmatch_line(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,070 | test_with_only_debug_writes_pytestdebug_log | def | function | def test_with_only_debug_writes_pytestdebug_log(self, pytester: Pytester) -> None:
result = pytester.runpytest("--debug")
result.stderr.fnmatch_lines(
[
"*writing pytest debug information to*pytestdebug.log",
"*wrote pytest debug information to*pytestdebug... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,071 | runpytest | ref | function | result = pytester.runpytest("--debug")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,072 | fnmatch_lines | ref | function | result.stderr.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,080 | test_multiple_custom_debug_logs | def | function | def test_multiple_custom_debug_logs(self, pytester: Pytester) -> None:
result = pytester.runpytest("--debug", "bar.log")
result.stderr.fnmatch_lines(
[
"*writing pytest debug information to*bar.log",
"*wrote pytest debug information to*bar.log",
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,081 | runpytest | ref | function | result = pytester.runpytest("--debug", "bar.log")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,082 | fnmatch_lines | ref | function | result.stderr.fnmatch_lines(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,088 | runpytest | ref | function | result = pytester.runpytest("--debug", "foo.log")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_config.py | testing/test_config.py | 2,089 | fnmatch_lines | ref | function | result.stderr.fnmatch_lines(
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.