Lines Matching refs:testdir

92     def test_funcarg_lookupfails(self, testdir):  argument
93 testdir.copy_example()
94 result = testdir.runpytest() # "--collect-only")
104 def test_detect_recursive_dependency_error(self, testdir): argument
105 testdir.copy_example()
106 result = testdir.runpytest()
111 def test_funcarg_basic(self, testdir): argument
112 testdir.copy_example()
113 item = testdir.getitem(Path("test_funcarg_basic.py"))
120 def test_funcarg_lookup_modulelevel(self, testdir): argument
121 testdir.copy_example()
122 reprec = testdir.inline_run()
125 def test_funcarg_lookup_classlevel(self, testdir): argument
126 p = testdir.copy_example()
127 result = testdir.runpytest(p)
130 def test_conftest_funcargs_only_available_in_subdir(self, testdir): argument
131 testdir.copy_example()
132 result = testdir.runpytest("-v")
135 def test_extend_fixture_module_class(self, testdir): argument
136 testfile = testdir.copy_example()
137 result = testdir.runpytest()
139 result = testdir.runpytest(testfile)
142 def test_extend_fixture_conftest_module(self, testdir): argument
143 p = testdir.copy_example()
144 result = testdir.runpytest()
146 result = testdir.runpytest(str(next(Path(str(p)).rglob("test_*.py"))))
149 def test_extend_fixture_conftest_conftest(self, testdir): argument
150 p = testdir.copy_example()
151 result = testdir.runpytest()
153 result = testdir.runpytest(str(next(Path(str(p)).rglob("test_*.py"))))
156 def test_extend_fixture_conftest_plugin(self, testdir): argument
157 testdir.makepyfile(
166 testdir.syspathinsert()
167 testdir.makeconftest(
178 testdir.makepyfile(
184 result = testdir.runpytest("-s")
187 def test_extend_fixture_plugin_plugin(self, testdir): argument
189 testdir.makepyfile(
198 testdir.makepyfile(
207 testdir.syspathinsert()
208 testdir.makepyfile(
216 result = testdir.runpytest()
219 def test_override_parametrized_fixture_conftest_module(self, testdir): argument
221 testdir.makeconftest(
230 testfile = testdir.makepyfile(
242 result = testdir.runpytest()
244 result = testdir.runpytest(testfile)
247 def test_override_parametrized_fixture_conftest_conftest(self, testdir): argument
249 testdir.makeconftest(
258 subdir = testdir.mkpydir("subdir")
279 result = testdir.runpytest()
281 result = testdir.runpytest(testfile)
284 def test_override_non_parametrized_fixture_conftest_module(self, testdir): argument
286 testdir.makeconftest(
295 testfile = testdir.makepyfile(
310 result = testdir.runpytest()
312 result = testdir.runpytest(testfile)
315 def test_override_non_parametrized_fixture_conftest_conftest(self, testdir): argument
317 testdir.makeconftest(
326 subdir = testdir.mkpydir("subdir")
350 result = testdir.runpytest()
352 result = testdir.runpytest(testfile)
356 self, testdir argument
361 testdir.makeconftest(
370 subdir = testdir.mkpydir("subdir")
394 result = testdir.runpytest()
396 result = testdir.runpytest(testfile)
399 def test_override_fixture_reusing_super_fixture_parametrization(self, testdir): argument
403 testdir.makeconftest(
412 testdir.makepyfile(
424 result = testdir.runpytest()
427 def test_override_parametrize_fixture_and_indirect(self, testdir): argument
431 testdir.makeconftest(
440 testdir.makepyfile(
458 result = testdir.runpytest()
462 self, testdir argument
465 testdir.makeconftest(
474 testdir.makepyfile(
492 result = testdir.runpytest()
495 def test_override_parametrized_fixture_with_new_parametrized_fixture(self, testdir): argument
500 testdir.makeconftest(
509 testdir.makepyfile(
522 result = testdir.runpytest()
525 def test_autouse_fixture_plugin(self, testdir): argument
528 testdir.makepyfile(
537 testdir.syspathinsert()
538 testdir.makepyfile(
546 result = testdir.runpytest()
549 def test_funcarg_lookup_error(self, testdir): argument
550 testdir.makeconftest(
567 testdir.makepyfile(
573 result = testdir.runpytest()
587 def test_fixture_excinfo_leak(self, testdir): argument
589 testdir.makepyfile(
608 result = testdir.runpytest()
613 def test_request_attributes(self, testdir): argument
614 item = testdir.getitem(
632 def test_request_attributes_method(self, testdir): argument
633 (item,) = testdir.getitems(
649 def test_request_contains_funcarg_arg2fixturedefs(self, testdir): argument
650 modcol = testdir.getmodulecol(
661 (item1,) = testdir.genitems([modcol])
671 def test_request_garbage(self, testdir): argument
678 testdir.makepyfile(
704 result = testdir.runpytest_subprocess()
707 def test_getfixturevalue_recursive(self, testdir): argument
708 testdir.makeconftest(
717 testdir.makepyfile(
728 reprec = testdir.inline_run()
731 def test_getfixturevalue_teardown(self, testdir): argument
742 testdir.makepyfile(
766 result = testdir.runpytest()
769 def test_getfixturevalue(self, testdir): argument
770 item = testdir.getitem(
799 def test_request_addfinalizer(self, testdir): argument
800 item = testdir.getitem(
820 def test_request_addfinalizer_failing_setup(self, testdir): argument
821 testdir.makepyfile(
835 reprec = testdir.inline_run("-s")
838 def test_request_addfinalizer_failing_setup_module(self, testdir): argument
839 testdir.makepyfile(
852 reprec = testdir.inline_run("-s")
856 def test_request_addfinalizer_partial_setup_failure(self, testdir): argument
857 p = testdir.makepyfile(
870 result = testdir.runpytest(p)
875 def test_request_subrequest_addfinalizer_exceptions(self, testdir): argument
880 testdir.makepyfile(
904 result = testdir.runpytest()
909 def test_request_getmodulepath(self, testdir): argument
910 modcol = testdir.getmodulecol("def test_somefunc(): pass")
911 (item,) = testdir.genitems([modcol])
915 def test_request_fixturenames(self, testdir): argument
916 testdir.makepyfile(
935 reprec = testdir.inline_run()
938 def test_request_fixturenames_dynamic_fixture(self, testdir): argument
940 testdir.copy_example("fixtures/test_getfixturevalue_dynamic.py")
941 result = testdir.runpytest()
944 def test_setupdecorator_and_xunit(self, testdir): argument
945 testdir.makepyfile(
973 reprec = testdir.inline_run("-v")
976 def test_fixtures_sub_subdir_normalize_sep(self, testdir): argument
978 b = testdir.mkdir("tests").mkdir("unit")
991 result = testdir.runpytest(p, "--fixtures")
1000 def test_show_fixtures_color_yes(self, testdir): argument
1001 testdir.makepyfile("def test_this(): assert 1")
1002 result = testdir.runpytest("--color=yes", "--fixtures")
1005 def test_newstyle_with_request(self, testdir): argument
1006 testdir.makepyfile(
1016 reprec = testdir.inline_run()
1019 def test_setupcontext_no_param(self, testdir): argument
1020 testdir.makepyfile(
1034 reprec = testdir.inline_run()
1039 def test_applymarker(self, testdir): argument
1040 item1, item2 = testdir.getitems(
1064 def test_accesskeywords(self, testdir): argument
1065 testdir.makepyfile(
1077 reprec = testdir.inline_run()
1080 def test_accessmarker_dynamic(self, testdir): argument
1081 testdir.makeconftest(
1093 testdir.makepyfile(
1104 reprec = testdir.inline_run()
1109 def test_noargfixturedec(self, testdir): argument
1110 testdir.makepyfile(
1121 reprec = testdir.inline_run()
1124 def test_receives_funcargs(self, testdir): argument
1125 testdir.makepyfile(
1143 reprec = testdir.inline_run()
1146 def test_receives_funcargs_scope_mismatch(self, testdir): argument
1147 testdir.makepyfile(
1162 result = testdir.runpytest()
1172 def test_receives_funcargs_scope_mismatch_issue660(self, testdir): argument
1173 testdir.makepyfile(
1188 result = testdir.runpytest()
1193 def test_invalid_scope(self, testdir): argument
1194 testdir.makepyfile(
1205 result = testdir.runpytest_inprocess()
1211 def test_parameters_without_eq_semantics(self, scope, testdir): argument
1212 testdir.makepyfile(
1239 result = testdir.runpytest()
1242 def test_funcarg_parametrized_and_used_twice(self, testdir): argument
1243 testdir.makepyfile(
1261 result = testdir.runpytest()
1264 def test_factory_uses_unknown_funcarg_as_dependency_error(self, testdir): argument
1265 testdir.makepyfile(
1281 result = testdir.runpytest()
1292 def test_factory_setup_as_classes_fails(self, testdir): argument
1293 testdir.makepyfile(
1303 reprec = testdir.inline_run()
1307 def test_usefixtures_marker(self, testdir): argument
1308 testdir.makepyfile(
1329 reprec = testdir.inline_run()
1332 def test_usefixtures_ini(self, testdir): argument
1333 testdir.makeini(
1339 testdir.makeconftest(
1349 testdir.makepyfile(
1358 reprec = testdir.inline_run()
1361 def test_usefixtures_seen_in_showmarkers(self, testdir): argument
1362 result = testdir.runpytest("--markers")
1369 def test_request_instance_issue203(self, testdir): argument
1370 testdir.makepyfile(
1383 reprec = testdir.inline_run()
1386 def test_fixture_parametrized_with_iterator(self, testdir): argument
1387 testdir.makepyfile(
1410 reprec = testdir.inline_run("-v")
1415 def test_setup_functions_as_fixtures(self, testdir): argument
1417 testdir.makepyfile(
1451 result = testdir.runpytest()
1457 def testdir(self, request): member in TestFixtureManagerParseFactories
1458 testdir = request.getfixturevalue("testdir")
1459 testdir.makeconftest(
1476 return testdir
1478 def test_parsefactories_evil_objects_issue214(self, testdir): argument
1479 testdir.makepyfile(
1491 reprec = testdir.inline_run()
1494 def test_parsefactories_conftest(self, testdir): argument
1495 testdir.makepyfile(
1505 reprec = testdir.inline_run("-s")
1508 def test_parsefactories_conftest_and_module_and_class(self, testdir): argument
1509 testdir.makepyfile(
1530 reprec = testdir.inline_run("-s")
1533 def test_parsefactories_relative_node_ids(self, testdir): argument
1536 runner = testdir.mkdir("runner")
1537 package = testdir.mkdir("package")
1576 reprec = testdir.inline_run()
1579 reprec = testdir.inline_run("..")
1582 def test_package_xunit_fixture(self, testdir): argument
1583 testdir.makepyfile(
1588 package = testdir.mkdir("package")
1609 package = testdir.mkdir("package2")
1630 reprec = testdir.inline_run()
1633 def test_package_fixture_complex(self, testdir): argument
1634 testdir.makepyfile(
1639 testdir.syspathinsert(testdir.tmpdir.dirname)
1640 package = testdir.mkdir("package")
1671 reprec = testdir.inline_run()
1674 def test_collect_custom_items(self, testdir): argument
1675 testdir.copy_example("fixtures/custom_item")
1676 result = testdir.runpytest("foo")
1682 def testdir(self, testdir): member in TestAutouseDiscovery
1683 testdir.makeconftest(
1706 return testdir
1708 def test_parsefactories_conftest(self, testdir): argument
1709 testdir.makepyfile(
1719 reprec = testdir.inline_run("-s")
1722 def test_two_classes_separated_autouse(self, testdir): argument
1723 testdir.makepyfile(
1742 reprec = testdir.inline_run()
1745 def test_setup_at_classlevel(self, testdir): argument
1746 testdir.makepyfile(
1759 reprec = testdir.inline_run("-s")
1763 def test_setup_enabled_functionnode(self, testdir): argument
1764 testdir.makepyfile(
1787 reprec = testdir.inline_run("-s")
1790 def test_callables_nocode(self, testdir): argument
1793 testdir.makepyfile(
1804 reprec = testdir.inline_run("-s")
1807 def test_autouse_in_conftests(self, testdir): argument
1808 a = testdir.mkdir("a")
1809 b = testdir.mkdir("a1")
1810 conftest = testdir.makeconftest(
1821 result = testdir.runpytest()
1828 def test_autouse_in_module_and_two_classes(self, testdir): argument
1829 testdir.makepyfile(
1850 reprec = testdir.inline_run()
1855 def test_autouse_conftest_mid_directory(self, testdir): argument
1856 pkgdir = testdir.mkpydir("xyz123")
1878 reprec = testdir.inline_run("-s")
1881 def test_funcarg_and_setup(self, testdir): argument
1882 testdir.makepyfile(
1905 reprec = testdir.inline_run()
1908 def test_uses_parametrized_resource(self, testdir): argument
1909 testdir.makepyfile(
1931 reprec = testdir.inline_run("-s")
1934 def test_session_parametrized_function(self, testdir): argument
1935 testdir.makepyfile(
1958 reprec = testdir.inline_run("-v", "-s")
1961 def test_class_function_parametrization_finalization(self, testdir): argument
1962 p = testdir.makeconftest(
1984 testdir.makepyfile(
1996 confcut = "--confcutdir={}".format(testdir.tmpdir)
1997 reprec = testdir.inline_run("-v", "-s", confcut)
2005 def test_scope_ordering(self, testdir): argument
2006 testdir.makepyfile(
2025 reprec = testdir.inline_run()
2028 def test_parametrization_setup_teardown_ordering(self, testdir): argument
2029 testdir.makepyfile(
2054 reprec = testdir.inline_run("-s")
2057 def test_ordering_autouse_before_explicit(self, testdir): argument
2058 testdir.makepyfile(
2073 reprec = testdir.inline_run()
2078 def test_ordering_dependencies_torndown_first(self, testdir, param1, param2): argument
2080 testdir.makepyfile(
2100 reprec = testdir.inline_run("-s")
2105 def test_parametrize(self, testdir): argument
2106 testdir.makepyfile(
2119 reprec = testdir.inline_run()
2122 def test_multiple_parametrization_issue_736(self, testdir): argument
2123 testdir.makepyfile(
2137 reprec = testdir.inline_run()
2144 def test_override_parametrized_fixture_issue_979(self, testdir, param_args): argument
2149 testdir.makepyfile(
2163 reprec = testdir.inline_run()
2166 def test_scope_session(self, testdir): argument
2167 testdir.makepyfile(
2187 reprec = testdir.inline_run()
2190 def test_scope_session_exc(self, testdir): argument
2191 testdir.makepyfile(
2208 reprec = testdir.inline_run()
2211 def test_scope_session_exc_two_fix(self, testdir): argument
2212 testdir.makepyfile(
2234 reprec = testdir.inline_run()
2237 def test_scope_exc(self, testdir): argument
2238 testdir.makepyfile(
2263 reprec = testdir.inline_run()
2266 def test_scope_module_uses_session(self, testdir): argument
2267 testdir.makepyfile(
2287 reprec = testdir.inline_run()
2290 def test_scope_module_and_finalizer(self, testdir): argument
2291 testdir.makeconftest(
2309 testdir.makepyfile(
2327 reprec = testdir.inline_run()
2330 def test_scope_mismatch_various(self, testdir): argument
2331 testdir.makeconftest(
2341 testdir.makepyfile(
2351 result = testdir.runpytest()
2357 def test_dynamic_scope(self, testdir): argument
2358 testdir.makeconftest(
2381 testdir.makepyfile(
2393 reprec = testdir.inline_run()
2396 reprec = testdir.inline_run("--extend-scope")
2399 def test_dynamic_scope_bad_return(self, testdir): argument
2400 testdir.makepyfile(
2413 result = testdir.runpytest()
2419 def test_register_only_with_mark(self, testdir): argument
2420 testdir.makeconftest(
2428 testdir.makepyfile(
2438 reprec = testdir.inline_run()
2441 def test_parametrize_and_scope(self, testdir): argument
2442 testdir.makepyfile(
2453 reprec = testdir.inline_run("-v")
2461 def test_scope_mismatch(self, testdir): argument
2462 testdir.makeconftest(
2470 testdir.makepyfile(
2480 result = testdir.runpytest()
2483 def test_parametrize_separated_order(self, testdir): argument
2484 testdir.makepyfile(
2499 reprec = testdir.inline_run("-v")
2504 def test_module_parametrized_ordering(self, testdir): argument
2505 testdir.makeini(
2511 testdir.makeconftest(
2523 testdir.makepyfile(
2541 result = testdir.runpytest("-v")
2563 def test_dynamic_parametrized_ordering(self, testdir): argument
2564 testdir.makeini(
2570 testdir.makeconftest(
2590 testdir.makepyfile(
2598 result = testdir.runpytest("-v")
2612 def test_class_ordering(self, testdir): argument
2613 testdir.makeini(
2619 testdir.makeconftest(
2640 testdir.makepyfile(
2654 result = testdir.runpytest("-vs")
2672 def test_parametrize_separated_order_higher_scope_first(self, testdir): argument
2673 testdir.makepyfile(
2702 reprec = testdir.inline_run("-v")
2748 def test_parametrized_fixture_teardown_order(self, testdir): argument
2749 testdir.makepyfile(
2781 result = testdir.runpytest("-v")
2789 def test_fixture_finalizer(self, testdir): argument
2790 testdir.makeconftest(
2804 b = testdir.mkdir("subdir")
2819 reprec = testdir.runpytest("-s")
2823 def test_class_scope_with_normal_tests(self, testdir): argument
2824 testpath = testdir.makepyfile(
2847 reprec = testdir.inline_run(testpath)
2851 def test_request_is_clean(self, testdir): argument
2852 testdir.makepyfile(
2863 reprec = testdir.inline_run("-s")
2867 def test_parametrize_separated_lifecycle(self, testdir): argument
2868 testdir.makepyfile(
2884 reprec = testdir.inline_run("-vs")
2896 def test_parametrize_function_scoped_finalizers_called(self, testdir): argument
2897 testdir.makepyfile(
2917 reprec = testdir.inline_run("-v")
2921 def test_finalizer_order_on_parametrization(self, scope, testdir): argument
2923 testdir.makepyfile(
2954 reprec = testdir.inline_run("-lvs")
2957 def test_class_scope_parametrization_ordering(self, testdir): argument
2959 testdir.makepyfile(
2980 reprec = testdir.inline_run()
2996 def test_parametrize_setup_function(self, testdir): argument
2997 testdir.makepyfile(
3026 reprec = testdir.inline_run("-v")
3029 def test_fixture_marked_function_not_collected_as_test(self, testdir): argument
3030 testdir.makepyfile(
3041 reprec = testdir.inline_run()
3044 def test_params_and_ids(self, testdir): argument
3045 testdir.makepyfile(
3058 res = testdir.runpytest("-v")
3061 def test_params_and_ids_yieldfixture(self, testdir): argument
3062 testdir.makepyfile(
3074 res = testdir.runpytest("-v")
3077 def test_deterministic_fixture_collection(self, testdir, monkeypatch): argument
3079 testdir.makepyfile(
3104 out1 = testdir.runpytest_subprocess("-v")
3106 out2 = testdir.runpytest_subprocess("-v")
3132 def test_setup(self, testdir, scope, ok, error): argument
3133 testdir.makepyfile(
3150 reprec = testdir.inline_run("-l")
3153 def test_funcarg(self, testdir, scope, ok, error): argument
3154 testdir.makepyfile(
3171 reprec = testdir.inline_run()
3176 def test_subfactory_missing_funcarg(self, testdir): argument
3177 testdir.makepyfile(
3187 result = testdir.runpytest()
3193 def test_issue498_fixture_finalizer_failing(self, testdir): argument
3194 testdir.makepyfile(
3213 result = testdir.runpytest()
3224 def test_setupfunc_missing_funcarg(self, testdir): argument
3225 testdir.makepyfile(
3235 result = testdir.runpytest()
3243 def test_funcarg_compat(self, testdir): argument
3244 config = testdir.parseconfigure("--funcargs")
3247 def test_show_fixtures(self, testdir): argument
3248 result = testdir.runpytest("--fixtures")
3258 def test_show_fixtures_verbose(self, testdir): argument
3259 result = testdir.runpytest("--fixtures", "-v")
3269 def test_show_fixtures_testmodule(self, testdir): argument
3270 p = testdir.makepyfile(
3281 result = testdir.runpytest("--fixtures", p)
3293 def test_show_fixtures_conftest(self, testdir, testmod): argument
3294 testdir.makeconftest(
3303 testdir.makepyfile(
3309 result = testdir.runpytest("--fixtures")
3319 def test_show_fixtures_trimmed_doc(self, testdir): argument
3320 p = testdir.makepyfile(
3341 result = testdir.runpytest("--fixtures", p)
3356 def test_show_fixtures_indented_doc(self, testdir): argument
3357 p = testdir.makepyfile(
3370 result = testdir.runpytest("--fixtures", p)
3382 def test_show_fixtures_indented_doc_first_line_unindented(self, testdir): argument
3383 p = testdir.makepyfile(
3396 result = testdir.runpytest("--fixtures", p)
3409 def test_show_fixtures_indented_in_class(self, testdir): argument
3410 p = testdir.makepyfile(
3424 result = testdir.runpytest("--fixtures", p)
3437 def test_show_fixtures_different_files(self, testdir): argument
3439 testdir.makepyfile(
3452 testdir.makepyfile(
3465 result = testdir.runpytest("--fixtures")
3478 def test_show_fixtures_with_same_name(self, testdir): argument
3479 testdir.makeconftest(
3488 testdir.makepyfile(
3494 testdir.makepyfile(
3505 result = testdir.runpytest("--fixtures")
3530 def flavor(self, request, testdir, monkeypatch): argument
3532 testdir.makepyfile(
3546 def test_simple(self, testdir, flavor): argument
3547 testdir.makepyfile(
3562 result = testdir.runpytest("-s")
3574 def test_scoped(self, testdir, flavor): argument
3575 testdir.makepyfile(
3589 result = testdir.runpytest("-s")
3599 def test_setup_exception(self, testdir, flavor): argument
3600 testdir.makepyfile(
3611 result = testdir.runpytest("-s")
3619 def test_teardown_exception(self, testdir, flavor): argument
3620 testdir.makepyfile(
3631 result = testdir.runpytest("-s")
3639 def test_yields_more_than_one(self, testdir, flavor): argument
3640 testdir.makepyfile(
3651 result = testdir.runpytest("-s")
3659 def test_custom_name(self, testdir, flavor): argument
3660 testdir.makepyfile(
3670 result = testdir.runpytest("-s")
3675 def test_call_from_fixture(self, testdir): argument
3676 testdir.makepyfile(
3692 result = testdir.runpytest()
3705 def test_call_from_test(self, testdir): argument
3706 testdir.makepyfile(
3718 result = testdir.runpytest()
3731 def test_external_fixture(self, testdir): argument
3732 testdir.makeconftest(
3742 testdir.makepyfile(
3748 result = testdir.runpytest()
3762 def test_non_relative_path(self, testdir): argument
3763 tests_dir = testdir.mkdir("tests")
3764 fixdir = testdir.mkdir("fixtures")
3791 testdir.syspathinsert(fixdir)
3792 result = testdir.runpytest()
3807 rootdir = testdir.mkdir("rootdir")
3809 result = testdir.runpytest("--rootdir", rootdir, tests_dir)
3824 def test_pytest_fixture_setup_and_post_finalizer_hook(testdir): argument
3825 testdir.makeconftest(
3833 testdir.makepyfile(
3854 result = testdir.runpytest("-s")
3871 def test_func_closure_module_auto(self, testdir, variant, monkeypatch): argument
3874 testdir.makepyfile(
3900 items, _ = testdir.inline_genitems()
3904 def test_func_closure_with_native_fixtures(self, testdir, monkeypatch) -> None: argument
3909 testdir.makepyfile(
3946 items, _ = testdir.inline_genitems()
3952 testdir.runpytest()
3957 def test_func_closure_module(self, testdir): argument
3958 testdir.makepyfile(
3972 items, _ = testdir.inline_genitems()
3976 def test_func_closure_scopes_reordered(self, testdir): argument
3980 testdir.makepyfile(
4005 items, _ = testdir.inline_genitems()
4009 def test_func_closure_same_scope_closer_root_first(self, testdir): argument
4011 testdir.makeconftest(
4019 testdir.makepyfile(
4045 items, _ = testdir.inline_genitems()
4049 def test_func_closure_all_scopes_complex(self, testdir): argument
4051 testdir.makeconftest(
4062 testdir.makepyfile(**{"__init__.py": ""})
4063 testdir.makepyfile(
4089 items, _ = testdir.inline_genitems()
4093 def test_multiple_packages(self, testdir): argument
4108 root = testdir.mkdir("root")
4158 reprec = testdir.inline_run()
4161 def test_class_fixture_self_instance(self, testdir): argument
4165 testdir.makeconftest(
4183 testdir.makepyfile(
4190 reprec = testdir.inline_run()
4205 def test_fixture_param_shadowing(testdir): argument
4207 testdir.makepyfile(
4240 result = testdir.runpytest("-v")
4248 def test_fixture_named_request(testdir): argument
4249 testdir.copy_example("fixtures/test_fixture_named_request.py")
4250 result = testdir.runpytest()
4259 def test_indirect_fixture_does_not_break_scope(testdir): argument
4261 testdir.makepyfile(
4306 result = testdir.runpytest()
4310 def test_fixture_parametrization_nparray(testdir): argument
4313 testdir.makepyfile(
4326 result = testdir.runpytest()
4330 def test_fixture_arg_ordering(testdir): argument
4337 p1 = testdir.makepyfile(
4361 result = testdir.runpytest("-vv", str(p1))
4365 def test_yield_fixture_with_no_value(testdir): argument
4366 testdir.makepyfile(
4379 result = testdir.runpytest()