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/python/fixtures.py
testing/python/fixtures.py
109
test_funcarg_lookupfails
def
function
def test_funcarg_lookupfails(self, pytester: Pytester) -> None: pytester.copy_example() result = pytester.runpytest() # "--collect-only") assert result.ret != 0 result.stdout.fnmatch_lines( """ *def test_func(some)* *fixture*some*not found* ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
110
copy_example
ref
function
pytester.copy_example()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
111
runpytest
ref
function
result = pytester.runpytest() # "--collect-only")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
113
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
121
test_detect_recursive_dependency_error
def
function
def test_detect_recursive_dependency_error(self, pytester: Pytester) -> None: pytester.copy_example() result = pytester.runpytest() result.stdout.fnmatch_lines( ["*recursive dependency involving fixture 'fix1' detected*"] ) def test_funcarg_basic(self, pytester: Pyte...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
122
copy_example
ref
function
pytester.copy_example()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
123
runpytest
ref
function
result = pytester.runpytest()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
124
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
128
test_funcarg_basic
def
function
def test_funcarg_basic(self, pytester: Pytester) -> None: pytester.copy_example() item = pytester.getitem(Path("test_funcarg_basic.py")) assert isinstance(item, Function) # Execute's item's setup, which fills fixtures. item.session._setupstate.setup(item) del item.fun...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
129
copy_example
ref
function
pytester.copy_example()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
130
getitem
ref
function
item = pytester.getitem(Path("test_funcarg_basic.py"))
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
133
setup
ref
function
item.session._setupstate.setup(item)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
135
get_public_names
ref
function
assert len(get_public_names(item.funcargs)) == 2
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
139
test_funcarg_lookup_modulelevel
def
function
def test_funcarg_lookup_modulelevel(self, pytester: Pytester) -> None: pytester.copy_example() reprec = pytester.inline_run() reprec.assertoutcome(passed=2) def test_funcarg_lookup_classlevel(self, pytester: Pytester) -> None: p = pytester.copy_example() result = pyteste...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
140
copy_example
ref
function
pytester.copy_example()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
141
inline_run
ref
function
reprec = pytester.inline_run()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
142
assertoutcome
ref
function
reprec.assertoutcome(passed=2)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
144
test_funcarg_lookup_classlevel
def
class
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
145
copy_example
ref
function
p = pytester.copy_example()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
146
runpytest
ref
function
result = pytester.runpytest(p)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
147
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*1 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
149
test_conftest_funcargs_only_available_in_subdir
def
function
def test_conftest_funcargs_only_available_in_subdir( self, pytester: Pytester ) -> None: pytester.copy_example() result = pytester.runpytest("-v") result.assert_outcomes(passed=2) def test_extend_fixture_module_class(self, pytester: Pytester) -> None: testfile = pyte...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
152
copy_example
ref
function
pytester.copy_example()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
153
runpytest
ref
function
result = pytester.runpytest("-v")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
154
assert_outcomes
ref
function
result.assert_outcomes(passed=2)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
156
test_extend_fixture_module_class
def
class
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
157
copy_example
ref
function
testfile = pytester.copy_example()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
158
runpytest
ref
function
result = pytester.runpytest()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
159
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*1 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
160
runpytest
ref
function
result = pytester.runpytest(testfile)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
161
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*1 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
163
test_extend_fixture_conftest_module
def
function
def test_extend_fixture_conftest_module(self, pytester: Pytester) -> None: p = pytester.copy_example() result = pytester.runpytest() result.stdout.fnmatch_lines(["*1 passed*"]) result = pytester.runpytest(str(next(Path(str(p)).rglob("test_*.py")))) result.stdout.fnmatch_lines...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
164
copy_example
ref
function
p = pytester.copy_example()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
165
runpytest
ref
function
result = pytester.runpytest()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
166
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*1 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
167
runpytest
ref
function
result = pytester.runpytest(str(next(Path(str(p)).rglob("test_*.py"))))
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
168
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*1 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
170
test_extend_fixture_conftest_conftest
def
function
def test_extend_fixture_conftest_conftest(self, pytester: Pytester) -> None: p = pytester.copy_example() result = pytester.runpytest() result.stdout.fnmatch_lines(["*1 passed*"]) result = pytester.runpytest(str(next(Path(str(p)).rglob("test_*.py")))) result.stdout.fnmatch_lin...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
171
copy_example
ref
function
p = pytester.copy_example()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
172
runpytest
ref
function
result = pytester.runpytest()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
173
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*1 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
174
runpytest
ref
function
result = pytester.runpytest(str(next(Path(str(p)).rglob("test_*.py"))))
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
175
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*1 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
177
test_extend_fixture_conftest_plugin
def
function
def test_extend_fixture_conftest_plugin(self, pytester: Pytester) -> None: pytester.makepyfile( testplugin=""" import pytest @pytest.fixture def foo(): return 7 """ ) pytester.syspathinsert() pytester.makeconfte...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
178
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
187
syspathinsert
ref
function
pytester.syspathinsert()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
188
makeconftest
ref
function
pytester.makeconftest(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
199
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
205
runpytest
ref
function
result = pytester.runpytest("-s")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
208
test_extend_fixture_plugin_plugin
def
function
def test_extend_fixture_plugin_plugin(self, pytester: Pytester) -> None: # Two plugins should extend each order in loading order pytester.makepyfile( testplugin0=""" import pytest @pytest.fixture def foo(): return 7 """ ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
210
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
219
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
228
syspathinsert
ref
function
pytester.syspathinsert()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
229
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
237
runpytest
ref
function
result = pytester.runpytest()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
240
test_override_parametrized_fixture_conftest_module
def
function
def test_override_parametrized_fixture_conftest_module( self, pytester: Pytester ) -> None: """Test override of the parametrized fixture with non-parametrized one on the test module level.""" pytester.makeconftest( """ import pytest @pytest.fixture(pa...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
244
makeconftest
ref
function
pytester.makeconftest(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
253
makepyfile
ref
function
testfile = pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
265
runpytest
ref
function
result = pytester.runpytest()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
266
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*1 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
267
runpytest
ref
function
result = pytester.runpytest(testfile)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
268
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*1 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
270
test_override_parametrized_fixture_conftest_conftest
def
function
def test_override_parametrized_fixture_conftest_conftest( self, pytester: Pytester ) -> None: """Test override of the parametrized fixture with non-parametrized one on the conftest level.""" pytester.makeconftest( """ import pytest @pytest.fixture(par...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
274
makeconftest
ref
function
pytester.makeconftest(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
283
mkpydir
ref
function
subdir = pytester.mkpydir("subdir")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
304
runpytest
ref
function
result = pytester.runpytest()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
305
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*1 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
306
runpytest
ref
function
result = pytester.runpytest(testfile)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
307
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*1 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
309
test_override_non_parametrized_fixture_conftest_module
def
function
def test_override_non_parametrized_fixture_conftest_module( self, pytester: Pytester ) -> None: """Test override of the non-parametrized fixture with parametrized one on the test module level.""" pytester.makeconftest( """ import pytest @pytest.fixtur...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
313
makeconftest
ref
function
pytester.makeconftest(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
322
makepyfile
ref
function
testfile = pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
337
runpytest
ref
function
result = pytester.runpytest()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
338
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*3 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
339
runpytest
ref
function
result = pytester.runpytest(testfile)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
340
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*3 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
342
test_override_non_parametrized_fixture_conftest_conftest
def
function
def test_override_non_parametrized_fixture_conftest_conftest( self, pytester: Pytester ) -> None: """Test override of the non-parametrized fixture with parametrized one on the conftest level.""" pytester.makeconftest( """ import pytest @pytest.fixture...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
346
makeconftest
ref
function
pytester.makeconftest(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
355
mkpydir
ref
function
subdir = pytester.mkpydir("subdir")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
379
runpytest
ref
function
result = pytester.runpytest()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
380
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*3 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
381
runpytest
ref
function
result = pytester.runpytest(testfile)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
382
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*3 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
384
test_override_autouse_fixture_with_parametrized_fixture_conftest_conftest
def
function
def test_override_autouse_fixture_with_parametrized_fixture_conftest_conftest( self, pytester: Pytester ) -> None: """Test override of the autouse fixture with parametrized one on the conftest level. This test covers the issue explained in issue 1601 """ pytester.makeconf...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
390
makeconftest
ref
function
pytester.makeconftest(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
399
mkpydir
ref
function
subdir = pytester.mkpydir("subdir")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
423
runpytest
ref
function
result = pytester.runpytest()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
424
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*3 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
425
runpytest
ref
function
result = pytester.runpytest(testfile)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
426
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*3 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
428
test_override_fixture_reusing_super_fixture_parametrization
def
function
def test_override_fixture_reusing_super_fixture_parametrization( self, pytester: Pytester ) -> None: """Override a fixture at a lower level, reusing the higher-level fixture that is parametrized (#1953). """ pytester.makeconftest( """ import pytest...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
434
makeconftest
ref
function
pytester.makeconftest(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
443
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
455
runpytest
ref
function
result = pytester.runpytest()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
456
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*2 passed*"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
458
test_override_parametrize_fixture_and_indirect
def
function
def test_override_parametrize_fixture_and_indirect( self, pytester: Pytester ) -> None: """Override a fixture at a lower level, reusing the higher-level fixture that is parametrized, while also using indirect parametrization. """ pytester.makeconftest( """ ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
464
makeconftest
ref
function
pytester.makeconftest(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
473
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
491
runpytest
ref
function
result = pytester.runpytest()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/python/fixtures.py
testing/python/fixtures.py
492
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(["*2 passed*"])