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 | 149 | spawn_pytest | ref | function | child = pytester.spawn_pytest("")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 150 | expect | ref | function | child.expect(".*test_runtest_location.*py")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 151 | sendeof | ref | function | child.sendeof()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 154 | test_report_collect_after_half_a_second | def | function | def test_report_collect_after_half_a_second(
self, pytester: Pytester, monkeypatch: MonkeyPatch
) -> None:
"""Test for "collecting" being updated after 0.5s"""
pytester.makepyfile(
**{
"test1.py": """
import _pytest.terminal
_... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 159 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 173 | setenv | ref | function | monkeypatch.setenv("PY_COLORS", "1")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 175 | spawn_pytest | ref | function | child = pytester.spawn_pytest("-v test1.py test2.py")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 176 | expect | ref | function | child.expect(r"collecting \.\.\.")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 177 | expect | ref | function | child.expect(r"collecting 1 item")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 178 | expect | ref | function | child.expect(r"collecting 2 items")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 179 | expect | ref | function | child.expect(r"collected 2 items")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 180 | decode | ref | function | rest = child.read().decode("utf8")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 183 | test_itemreport_subclasses_show_subclassed_file | def | class | |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 186 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 209 | runpytest | ref | function | result = pytester.runpytest("tests/test_p2.py", "--rootdir=tests")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 210 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["tests/test_p2.py .*", "=* 1 passed in *"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 212 | runpytest | ref | function | result = pytester.runpytest("-vv", "-rA", "tests/test_p2.py", "--rootdir=tests")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 213 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 220 | runpytest | ref | function | result = pytester.runpytest("-vv", "-rA", "tests/test_p3.py", "--rootdir=tests")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 221 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 236 | test_itemreport_directclasses_not_shown_as_subclasses | def | class | |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 239 | mkpydir | ref | function | a = pytester.mkpydir("a123")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 249 | runpytest | ref | function | result = pytester.runpytest("-vv")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 251 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*a123/test_hello123.py*PASS*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 252 | no_fnmatch_line | ref | function | result.stdout.no_fnmatch_line("* <- *")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 254 | parametrize | ref | function | @pytest.mark.parametrize("fulltrace", ("", "--fulltrace"))
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 255 | test_keyboard_interrupt | def | function | def test_keyboard_interrupt(self, pytester: Pytester, fulltrace) -> None:
pytester.makepyfile(
"""
def test_foobar():
assert 0
def test_spamegg():
import py; pytest.skip('skip me please!')
def test_interrupt_me():
... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 256 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 267 | runpytest | ref | function | result = pytester.runpytest(fulltrace, no_reraise_ctrlc=True)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 268 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 277 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 281 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 284 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*KeyboardInterrupt*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 286 | test_keyboard_in_sessionstart | def | function | def test_keyboard_in_sessionstart(self, pytester: Pytester) -> None:
pytester.makeconftest(
"""
def pytest_sessionstart():
raise KeyboardInterrupt
"""
)
pytester.makepyfile(
"""
def test_foobar():
pass
... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 287 | makeconftest | ref | function | pytester.makeconftest(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 293 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 300 | runpytest | ref | function | result = pytester.runpytest(no_reraise_ctrlc=True)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 302 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*KeyboardInterrupt*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 304 | test_collect_single_item | def | function | def test_collect_single_item(self, pytester: Pytester) -> None:
"""Use singular 'item' when reporting a single test item"""
pytester.makepyfile(
"""
def test_foobar():
pass
"""
)
result = pytester.runpytest()
result.stdout.fnmat... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 306 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 312 | runpytest | ref | function | result = pytester.runpytest()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 313 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["collected 1 item"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 315 | test_rewrite | def | function | def test_rewrite(self, pytester: Pytester, monkeypatch) -> None:
config = pytester.parseconfig()
f = StringIO()
monkeypatch.setattr(f, "isatty", lambda *args: _True)
tr = TerminalReporter(config, f)
tr._tw.fullwidth = 10
tr.write("hello")
tr.rewrite("hey", era... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 316 | parseconfig | ref | function | config = pytester.parseconfig()
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 319 | TerminalReporter | ref | function | tr = TerminalReporter(config, f)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 322 | rewrite | ref | function | tr.rewrite("hey", erase=True)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 325 | test_report_teststatus_explicit_markup | def | function | def test_report_teststatus_explicit_markup(
self, monkeypatch: MonkeyPatch, pytester: Pytester, color_mapping
) -> None:
"""Test that TerminalReporter handles markup explicitly provided by
a pytest_report_teststatus hook."""
monkeypatch.setenv("PY_COLORS", "1")
pytester.m... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 330 | setenv | ref | function | monkeypatch.setenv("PY_COLORS", "1")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 331 | makeconftest | ref | function | pytester.makeconftest(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 337 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 343 | runpytest | ref | function | result = pytester.runpytest("-v")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 344 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 345 | format_for_fnmatch | ref | function | color_mapping.format_for_fnmatch(["*{red}FOO{reset}*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 348 | test_verbose_skip_reason | def | function | def test_verbose_skip_reason(self, pytester: Pytester) -> None:
pytester.makepyfile(
"""
import pytest
@pytest.mark.skip(reason="123")
def test_1():
pass
@pytest.mark.xfail(reason="456")
def test_2():
p... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 349 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 390 | runpytest | ref | function | result = pytester.runpytest("-v")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 391 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 407 | TestCollectonly | def | class | test_collectonly_basic test_collectonly_skipped_module test_collectonly_displays_test_description test_collectonly_failed_module test_collectonly_fatal test_collectonly_simple test_collectonly_error test_collectonly_missing_path test_collectonly_quiet test_collectonly_more_quiet test_collect_only_summary_status |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 408 | test_collectonly_basic | def | function | def test_collectonly_basic(self, pytester: Pytester) -> None:
pytester.makepyfile(
"""
def test_func():
pass
"""
)
result = pytester.runpytest("--collect-only")
result.stdout.fnmatch_lines(
["<Module test_collectonly_basic.p... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 409 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 415 | runpytest | ref | function | result = pytester.runpytest("--collect-only")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 416 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 420 | test_collectonly_skipped_module | def | function | def test_collectonly_skipped_module(self, pytester: Pytester) -> None:
pytester.makepyfile(
"""
import pytest
pytest.skip("hello")
"""
)
result = pytester.runpytest("--collect-only", "-rs")
result.stdout.fnmatch_lines(["*ERROR collecting*"]... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 421 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 427 | runpytest | ref | function | result = pytester.runpytest("--collect-only", "-rs")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 428 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*ERROR collecting*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 430 | test_collectonly_displays_test_description | def | function | def test_collectonly_displays_test_description(
self, pytester: Pytester, dummy_yaml_custom_test
) -> None:
"""Used dummy_yaml_custom_test for an Item without ``obj``."""
pytester.makepyfile(
"""
def test_with_description():
''' This test has a de... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 434 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 443 | runpytest | ref | function | result = pytester.runpytest("--collect-only", "--verbose")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 444 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 458 | test_collectonly_failed_module | def | function | def test_collectonly_failed_module(self, pytester: Pytester) -> None:
pytester.makepyfile("""raise ValueError(0)""")
result = pytester.runpytest("--collect-only")
result.stdout.fnmatch_lines(["*raise ValueError*", "*1 error*"])
def test_collectonly_fatal(self, pytester: Pytester) -> Non... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 459 | makepyfile | ref | function | pytester.makepyfile("""raise ValueError(0)""")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 460 | runpytest | ref | function | result = pytester.runpytest("--collect-only")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 461 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*raise ValueError*", "*1 error*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 463 | test_collectonly_fatal | def | function | def test_collectonly_fatal(self, pytester: Pytester) -> None:
pytester.makeconftest(
"""
def pytest_collectstart(collector):
assert 0, "urgs"
"""
)
result = pytester.runpytest("--collect-only")
result.stdout.fnmatch_lines(["*INTERNAL*ar... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 464 | makeconftest | ref | function | pytester.makeconftest(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 470 | runpytest | ref | function | result = pytester.runpytest("--collect-only")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 471 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*INTERNAL*args*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 474 | test_collectonly_simple | def | function | def test_collectonly_simple(self, pytester: Pytester) -> None:
p = pytester.makepyfile(
"""
def test_func1():
pass
class TestClass(object):
def test_method(self):
pass
"""
)
result = pytester.runp... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 475 | makepyfile | ref | function | p = pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 484 | runpytest | ref | function | result = pytester.runpytest("--collect-only", p)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 487 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 496 | test_collectonly_error | def | function | def test_collectonly_error(self, pytester: Pytester) -> None:
p = pytester.makepyfile("import Errlkjqweqwe")
result = pytester.runpytest("--collect-only", p)
assert result.ret == 2
result.stdout.fnmatch_lines(
textwrap.dedent(
"""\
*ERROR*
... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 497 | makepyfile | ref | function | p = pytester.makepyfile("import Errlkjqweqwe")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 498 | runpytest | ref | function | result = pytester.runpytest("--collect-only", p)
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 500 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 511 | test_collectonly_missing_path | def | function | def test_collectonly_missing_path(self, pytester: Pytester) -> None:
"""Issue 115: failure in parseargs will cause session not to
have the items attribute."""
result = pytester.runpytest("--collect-only", "uhm_missing_path")
assert result.ret == 4
result.stderr.fnmatch_lines(... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 514 | runpytest | ref | function | result = pytester.runpytest("--collect-only", "uhm_missing_path")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 516 | fnmatch_lines | ref | function | result.stderr.fnmatch_lines(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 520 | test_collectonly_quiet | def | function | def test_collectonly_quiet(self, pytester: Pytester) -> None:
pytester.makepyfile("def test_foo(): pass")
result = pytester.runpytest("--collect-only", "-q")
result.stdout.fnmatch_lines(["*test_foo*"])
def test_collectonly_more_quiet(self, pytester: Pytester) -> None:
pytester.m... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 521 | makepyfile | ref | function | pytester.makepyfile("def test_foo(): pass")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 522 | runpytest | ref | function | result = pytester.runpytest("--collect-only", "-q")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 523 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*test_foo*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 525 | test_collectonly_more_quiet | def | function | def test_collectonly_more_quiet(self, pytester: Pytester) -> None:
pytester.makepyfile(test_fun="def test_foo(): pass")
result = pytester.runpytest("--collect-only", "-qq")
result.stdout.fnmatch_lines(["*test_fun.py: 1*"])
def test_collect_only_summary_status(self, pytester: Pytester) -... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 526 | makepyfile | ref | function | pytester.makepyfile(test_fun="def test_foo(): pass")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 527 | runpytest | ref | function | result = pytester.runpytest("--collect-only", "-qq")
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 528 | fnmatch_lines | ref | function | result.stdout.fnmatch_lines(["*test_fun.py: 1*"])
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 530 | test_collect_only_summary_status | def | function | def test_collect_only_summary_status(self, pytester: Pytester) -> None:
"""Custom status depending on test selection using -k or -m. #7701."""
pytester.makepyfile(
test_collect_foo="""
def test_foo(): pass
""",
test_collect_bar="""
def test... |
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 532 | makepyfile | ref | function | pytester.makepyfile(
|
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_terminal.py | testing/test_terminal.py | 541 | runpytest | ref | function | result = pytester.runpytest("--collect-only")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.