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_junitxml.py | testing/test_junitxml.py | 832 | run_and_parse | ref | function | result, dom = run_and_parse("-o", "junit_logging=%s" % junit_logging)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 833 | find_first_by_tag | ref | function | node = dom.find_first_by_tag("testsuite")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 834 | find_first_by_tag | ref | function | pnode = node.find_first_by_tag("testcase")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 836 | find_by_tag | ref | function | assert not node.find_by_tag(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 840 | find_first_by_tag | ref | function | systemerr = pnode.find_first_by_tag("system-err")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 842 | toxml | ref | function | "hello-stderr" in systemerr.toxml()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 845 | parametrize | ref | function | @pytest.mark.parametrize("junit_logging", ["no", "system-out"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 846 | test_setup_error_captures_stdout | def | function | def test_setup_error_captures_stdout(
self, pytester: Pytester, run_and_parse: RunAndParse, junit_logging: str
) -> None:
pytester.makepyfile(
"""
import pytest
@pytest.fixture
def arg(request):
print('hello-stdout')
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 849 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 861 | run_and_parse | ref | function | result, dom = run_and_parse("-o", "junit_logging=%s" % junit_logging)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 862 | find_first_by_tag | ref | function | node = dom.find_first_by_tag("testsuite")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 863 | find_first_by_tag | ref | function | pnode = node.find_first_by_tag("testcase")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 865 | find_by_tag | ref | function | assert not node.find_by_tag(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 869 | find_first_by_tag | ref | function | systemout = pnode.find_first_by_tag("system-out")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 871 | toxml | ref | function | "hello-stdout" in systemout.toxml()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 874 | parametrize | ref | function | @pytest.mark.parametrize("junit_logging", ["no", "system-err"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 875 | test_setup_error_captures_stderr | def | function | def test_setup_error_captures_stderr(
self, pytester: Pytester, run_and_parse: RunAndParse, junit_logging: str
) -> None:
pytester.makepyfile(
"""
import sys
import pytest
@pytest.fixture
def arg(request):
sys.stderr.wr... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 878 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 891 | run_and_parse | ref | function | result, dom = run_and_parse("-o", "junit_logging=%s" % junit_logging)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 892 | find_first_by_tag | ref | function | node = dom.find_first_by_tag("testsuite")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 893 | find_first_by_tag | ref | function | pnode = node.find_first_by_tag("testcase")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 895 | find_by_tag | ref | function | assert not node.find_by_tag(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 899 | find_first_by_tag | ref | function | systemerr = pnode.find_first_by_tag("system-err")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 901 | toxml | ref | function | "hello-stderr" in systemerr.toxml()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 904 | parametrize | ref | function | @pytest.mark.parametrize("junit_logging", ["no", "system-out"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 905 | test_avoid_double_stdout | def | function | def test_avoid_double_stdout(
self, pytester: Pytester, run_and_parse: RunAndParse, junit_logging: str
) -> None:
pytester.makepyfile(
"""
import sys
import pytest
@pytest.fixture
def arg(request):
yield
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 908 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 922 | run_and_parse | ref | function | result, dom = run_and_parse("-o", "junit_logging=%s" % junit_logging)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 923 | find_first_by_tag | ref | function | node = dom.find_first_by_tag("testsuite")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 924 | find_first_by_tag | ref | function | pnode = node.find_first_by_tag("testcase")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 926 | find_by_tag | ref | function | assert not node.find_by_tag(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 930 | find_first_by_tag | ref | function | systemout = pnode.find_first_by_tag("system-out")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 931 | toxml | ref | function | assert "hello-stdout call" in systemout.toxml()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 932 | toxml | ref | function | assert "hello-stdout teardown" in systemout.toxml()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 935 | test_mangle_test_address | def | function | def test_mangle_test_address() -> None:
from _pytest.junitxml import mangle_test_address
address = "::".join(["a/my.py.thing.py", "Class", "method", "[a-1-::]"])
newnames = mangle_test_address(address)
assert newnames == ["a.my.py.thing", "Class", "method", "[a-1-::]"]
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 939 | mangle_test_address | ref | function | newnames = mangle_test_address(address)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 943 | test_dont_configure_on_workers | def | function | def test_dont_configure_on_workers(tmp_path: Path) -> None:
gotten: List[object] = []
class FakeConfig:
if TYPE_CHECKING:
workerinput = None
def __init__(self):
self.pluginmanager = self
self.option = self
self.stash = Stash()
def getini... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 946 | FakeConfig | def | class | __init__ getini |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 953 | Stash | ref | function | self.stash = Stash()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 955 | getini | def | function | def getini(self, name):
return "pytest"
junitprefix = None
# XXX: shouldn't need tmp_path ?
xmlpath = str(tmp_path.joinpath("junix.xml"))
register = gotten.append
fake_config = cast(Config, FakeConfig())
from _pytest import junitxml
junitxml.pytest_conf... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 963 | FakeConfig | ref | function | fake_config = cast(Config, FakeConfig())
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 966 | pytest_configure | ref | function | junitxml.pytest_configure(fake_config)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 969 | pytest_configure | ref | function | junitxml.pytest_configure(fake_config)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 973 | TestNonPython | def | class | test_summing_simple |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 975 | test_summing_simple | def | function | def test_summing_simple(
self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str
) -> None:
pytester.makepyfile(
"""
import pytest
def test_pass():
pass
def test_fail():
assert 0
def test_... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 978 | makeconftest | ref | function | pytester.makeconftest(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 992 | run_and_parse | ref | function | result, dom = run_and_parse(family=xunit_family)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 994 | find_first_by_tag | ref | function | node = dom.find_first_by_tag("testsuite")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 995 | assert_attr | ref | function | node.assert_attr(errors=0, failures=1, skipped=0, tests=1)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 996 | find_first_by_tag | ref | function | tnode = node.find_first_by_tag("testcase")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 997 | assert_attr | ref | function | tnode.assert_attr(name="myfile.xyz")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 998 | find_first_by_tag | ref | function | fnode = tnode.find_first_by_tag("failure")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 999 | assert_attr | ref | function | fnode.assert_attr(message="custom item runtest failed")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,000 | toxml | ref | function | assert "custom item runtest failed" in fnode.toxml()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,003 | parametrize | ref | function | @pytest.mark.parametrize("junit_logging", ["no", "system-out"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,004 | test_nullbyte | def | function | def test_nullbyte(pytester: Pytester, junit_logging: str) -> None:
# A null byte can not occur in XML (see section 2.2 of the spec)
pytester.makepyfile(
"""
import sys
def test_print_nullbyte():
sys.stdout.write('Here the null -->' + chr(0) + '<--')
sys.stdout.wri... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,006 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,016 | runpytest | ref | function | pytester.runpytest("--junitxml=%s" % xmlf, "-o", "junit_logging=%s" % junit_logging)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,025 | parametrize | ref | function | @pytest.mark.parametrize("junit_logging", ["no", "system-out"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,026 | test_nullbyte_replace | def | function | def test_nullbyte_replace(pytester: Pytester, junit_logging: str) -> None:
# Check if the null byte gets replaced
pytester.makepyfile(
"""
import sys
def test_print_nullbyte():
sys.stdout.write('Here the null -->' + chr(0) + '<--')
sys.stdout.write('In repr form -... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,028 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,038 | runpytest | ref | function | pytester.runpytest("--junitxml=%s" % xmlf, "-o", "junit_logging=%s" % junit_logging)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,046 | test_invalid_xml_escape | def | function | def test_invalid_xml_escape() -> None:
# Test some more invalid xml chars, the full range should be
# tested really but let's just test the edges of the ranges
# instead.
# XXX This only tests low unicode character points for now as
# there are some issues with the testing infrastructure for
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,072 | bin_xml_escape | ref | function | got = bin_xml_escape(chr(i))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,079 | bin_xml_escape | ref | function | assert chr(i) == bin_xml_escape(chr(i))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,082 | test_logxml_path_expansion | def | function | def test_logxml_path_expansion(tmp_path: Path, monkeypatch: MonkeyPatch) -> None:
home_tilde = Path(os.path.expanduser("~")).joinpath("test.xml")
xml_tilde = LogXML(Path("~", "test.xml"), None)
assert xml_tilde.logfile == str(home_tilde)
monkeypatch.setenv("HOME", str(tmp_path))
home_var = os.path.... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,084 | LogXML | ref | function | xml_tilde = LogXML(Path("~", "test.xml"), None)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,087 | setenv | ref | function | monkeypatch.setenv("HOME", str(tmp_path))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,088 | normpath | ref | function | home_var = os.path.normpath(os.path.expandvars("$HOME/test.xml"))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,088 | expandvars | ref | function | home_var = os.path.normpath(os.path.expandvars("$HOME/test.xml"))
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,089 | LogXML | ref | function | xml_var = LogXML(Path("$HOME", "test.xml"), None)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,093 | test_logxml_changingdir | def | function | def test_logxml_changingdir(pytester: Pytester) -> None:
pytester.makepyfile(
"""
def test_func():
import os
os.chdir("a")
"""
)
pytester.mkdir("a")
result = pytester.runpytest("--junitxml=a/x.xml")
assert result.ret == 0
assert pytester.path.joinpath(... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,094 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,102 | runpytest | ref | function | result = pytester.runpytest("--junitxml=a/x.xml")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,107 | test_logxml_makedir | def | function | def test_logxml_makedir(pytester: Pytester) -> None:
"""--junitxml should automatically create directories for the xml file"""
pytester.makepyfile(
"""
def test_pass():
pass
"""
)
result = pytester.runpytest("--junitxml=path/to/results.xml")
assert result.ret == 0
... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,109 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,115 | runpytest | ref | function | result = pytester.runpytest("--junitxml=path/to/results.xml")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,120 | test_logxml_check_isdir | def | function | def test_logxml_check_isdir(pytester: Pytester) -> None:
"""Give an error if --junit-xml is a directory (#2089)"""
result = pytester.runpytest("--junit-xml=.")
result.stderr.fnmatch_lines(["*--junitxml must be a filename*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,122 | runpytest | ref | function | result = pytester.runpytest("--junit-xml=.")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,123 | fnmatch_lines | ref | function | result.stderr.fnmatch_lines(["*--junitxml must be a filename*"])
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,126 | test_escaped_parametrized_names_xml | def | function | def test_escaped_parametrized_names_xml(
pytester: Pytester, run_and_parse: RunAndParse
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,129 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,137 | run_and_parse | ref | function | result, dom = run_and_parse()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,139 | find_first_by_tag | ref | function | node = dom.find_first_by_tag("testcase")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,140 | assert_attr | ref | function | node.assert_attr(name="test_func[\\x00]")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,143 | test_double_colon_split_function_issue469 | def | function | def test_double_colon_split_function_issue469(
pytester: Pytester, run_and_parse: RunAndParse
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,146 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,154 | run_and_parse | ref | function | result, dom = run_and_parse()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,156 | find_first_by_tag | ref | function | node = dom.find_first_by_tag("testcase")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,157 | assert_attr | ref | class | |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,158 | assert_attr | ref | function | node.assert_attr(name="test_func[double::colon]")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,161 | test_double_colon_split_method_issue469 | def | function | def test_double_colon_split_method_issue469(
pytester: Pytester, run_and_parse: RunAndParse
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,164 | makepyfile | ref | function | pytester.makepyfile(
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,173 | run_and_parse | ref | function | result, dom = run_and_parse()
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,175 | find_first_by_tag | ref | function | node = dom.find_first_by_tag("testcase")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,176 | assert_attr | ref | class | |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,177 | assert_attr | ref | function | node.assert_attr(name="test_func[double::colon]")
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,180 | test_unicode_issue368 | def | function | def test_unicode_issue368(pytester: Pytester) -> None:
path = pytester.path.joinpath("test.xml")
log = LogXML(str(path), None)
ustr = "ВНИ!"
class Report(BaseReport):
longrepr = ustr
sections: List[Tuple[str, str]] = []
nodeid = "something"
location = "tests/filename.py"... |
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,182 | LogXML | ref | function | log = LogXML(str(path), None)
|
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py | testing/test_junitxml.py | 1,185 | Report | def | class |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.