MCPcopy Create free account

hub / github.com/pytest-dev/pytest / functions

Functions4,602 in github.com/pytest-dev/pytest

Methodtest_option_default
(self, pytester: Pytester)
testing/test_assertrewrite.py:1494
Functiontest_option_precedence_cmdline_over_ini
Filters defined in the command-line should take precedence over filters in ini files (#3946).
testing/test_warnings.py:385
Functiontest_option_precedence_mark
Filters defined by marks should always take precedence (#3946).
testing/test_warnings.py:410
Functiontest_options_on_small_file_do_not_blow_up
(pytester: Pytester)
testing/test_config.py:905
Functiontest_order
(g, order)
doc/en/example/fixtures/test_fixtures_order_dependencies.py:44
Methodtest_order
(self, func, cls, mod, pack, sess, order)
doc/en/example/fixtures/test_fixtures_order_scope.py:35
Methodtest_order
(self, order, outer)
doc/en/example/fixtures/test_fixtures_request_different_scope.py:19
Methodtest_order
(self, order, outer)
doc/en/example/fixtures/test_fixtures_request_different_scope.py:28
Methodtest_order
(self, order, c1, c3)
doc/en/example/fixtures/test_fixtures_order_autouse_multiple_scopes.py:25
Methodtest_order
(self, order, c2)
doc/en/example/fixtures/test_fixtures_order_autouse_multiple_scopes.py:30
Functiontest_order_and_g
(g, order)
doc/en/example/fixtures/test_fixtures_order_autouse.py:44
Methodtest_order_of_execution
(self, pytester: Pytester)
testing/test_session.py:180
Methodtest_ordered_by_definition_order
(self, pytester: Pytester)
testing/python/collect.py:774
Functiontest_ordering
()
testing/test_scope.py:7
Methodtest_ordering_autouse_before_explicit
(self, pytester: Pytester)
testing/python/fixtures.py:2141
Methodtest_ordering_dependencies_torndown_first
#226
testing/python/fixtures.py:2162
Methodtest_orphaned_pyc_file
(self, pytester: Pytester, monkeypatch)
testing/test_assertrewrite.py:856
Functiontest_outcome_exception_bad_msg
Check that OutcomeExceptions validate their input to prevent confusing errors (#5578)
testing/test_runner.py:1049
Functiontest_outcomeexception_exceptionattributes
()
testing/test_runner.py:537
Functiontest_outcomeexception_passes_except_Exception
()
testing/test_runner.py:542
Methodtest_override_autouse_fixture_with_parametrized_fixture_conftest_conftest
Test override of the autouse fixture with parametrized one on the conftest level. This test covers the issue explained in issue 1601
testing/python/fixtures.py:385
Methodtest_override_fixture_reusing_super_fixture_parametrization
Override a fixture at a lower level, reusing the higher-level fixture that is parametrized (#1953).
testing/python/fixtures.py:429
Methodtest_override_ini_does_not_contain_paths
Check that -o no longer swallows all options after it (#3103)
testing/test_config.py:1672
Methodtest_override_ini_handled_asap
-o should be handled as soon as possible and always override what's in ini files (#2238)
testing/test_config.py:1613
Methodtest_override_ini_names
(self, pytester: Pytester, name: str)
testing/test_config.py:1494
Functiontest_override_ini_paths
(pytester: pytest.Pytester)
testing/test_legacypath.py:142
Methodtest_override_ini_paths
(self, pytester: Pytester)
testing/test_config.py:1527
Methodtest_override_ini_usage_error_bad_style
(self, pytester: Pytester)
testing/test_config.py:1598
Methodtest_override_multiple_and_default
(self, pytester: Pytester)
testing/test_config.py:1552
Methodtest_override_non_parametrized_fixture_conftest_conftest
Test override of the non-parametrized fixture with parametrized one on the conftest level.
testing/python/fixtures.py:343
Methodtest_override_non_parametrized_fixture_conftest_module
Test override of the non-parametrized fixture with parametrized one on the test module level.
testing/python/fixtures.py:310
Methodtest_override_parametrize_fixture_and_indirect
Override a fixture at a lower level, reusing the higher-level fixture that is parametrized, while also using indirect parametrization.
testing/python/fixtures.py:459
Methodtest_override_parametrized_fixture_conftest_conftest
Test override of the parametrized fixture with non-parametrized one on the conftest level.
testing/python/fixtures.py:271
Methodtest_override_parametrized_fixture_conftest_module
Test override of the parametrized fixture with non-parametrized one on the test module level.
testing/python/fixtures.py:241
Methodtest_override_parametrized_fixture_issue_979
Make sure a parametrized argument can override a parametrized fixture. This was a regression introduced in the fix for #736.
testing/python/fixtures.py:2230
Methodtest_override_parametrized_fixture_with_new_parametrized_fixture
Overriding a parametrized fixture, while also parametrizing the new fixture and simultaneously requesting the overwritten fixture as parameter
testing/python/fixtures.py:529
Methodtest_override_top_level_fixture_reusing_super_fixture_parametrization
Same as the above test, but with another level of overwriting.
testing/python/fixtures.py:495
Methodtest_package
(self, pytester: Pytester)
testing/test_assertrewrite.py:927
Functiontest_package_collection_infinite_recursion
(pytester: Pytester)
testing/python/collect.py:1403
Functiontest_package_collection_init_given_as_argument
Regression test for #3749
testing/python/collect.py:1409
Methodtest_package_fixture_complex
(self, pytester: Pytester)
testing/python/fixtures.py:1713
Functiontest_package_ordering
. └── root ├── Test_root.py ├── __init__.py ├── sub1 │ ├── Test_sub1.py │ └── __init__.py
testing/python/collect.py:1459
Functiontest_package_unimportable
(tmp_path: Path)
testing/test_pathlib.py:325
Functiontest_package_with_modules
. └── root ├── __init__.py ├── sub1 │ ├── __init__.py │ └── sub1_1 │ ├── __init__.py
testing/python/collect.py:1416
Methodtest_package_without__init__py
(self, pytester: Pytester)
testing/test_assertrewrite.py:944
Methodtest_package_xunit_fixture
(self, pytester: Pytester)
testing/python/fixtures.py:1662
Methodtest_packages
Regression test for #7758. The particular issue here was that Package nodes were included in the filtering, being themselves Modules
testing/test_cacheprovider.py:1026
Methodtest_parameters_without_eq_semantics
(self, scope, pytester: Pytester)
testing/python/fixtures.py:1284
Functiontest_parameterset_for_fail_at_collect
(pytester: Pytester)
testing/test_mark.py:970
Functiontest_parameterset_for_parametrize_bad_markname
(pytester: Pytester)
testing/test_mark.py:1012
Methodtest_parametrization_setup_teardown_ordering
(self, pytester: Pytester)
testing/python/fixtures.py:2112
Methodtest_parametrize
(self, pytester: Pytester)
testing/python/fixtures.py:2191
Methodtest_parametrize_CSV
(self, pytester: Pytester)
testing/python/metafunc.py:918
Methodtest_parametrize_ID_generation_string_int_works
#290
testing/python/metafunc.py:1771
Methodtest_parametrize_all_indirects
(self, pytester: Pytester)
testing/python/metafunc.py:1505
Methodtest_parametrize_and_id
(self)
testing/python/metafunc.py:193
Methodtest_parametrize_and_id_unicode
Allow unicode strings for "ids" parameter in Python 2 (##1905)
testing/python/metafunc.py:204
Methodtest_parametrize_and_inner_getfixturevalue
(self, pytester: Pytester)
testing/python/metafunc.py:1125
Methodtest_parametrize_and_scope
(self, pytester: Pytester)
testing/python/fixtures.py:2529
Methodtest_parametrize_argument_not_in_indirect_list
#714
testing/python/metafunc.py:818
Methodtest_parametrize_auto_scope
(self, pytester: Pytester)
testing/python/metafunc.py:1443
Methodtest_parametrize_auto_scope_indirect
(self, pytester: Pytester)
testing/python/metafunc.py:1465
Methodtest_parametrize_auto_scope_override_fixture
(self, pytester: Pytester)
testing/python/metafunc.py:1488
Methodtest_parametrize_bad_scope
(self)
testing/python/metafunc.py:116
Methodtest_parametrize_called_in_generate_tests
(self, pytester: Pytester)
testing/python/metafunc.py:1748
Methodtest_parametrize_class_scenarios
(self, pytester: Pytester)
testing/python/metafunc.py:930
Methodtest_parametrize_empty_list
#510
testing/python/metafunc.py:247
Methodtest_parametrize_error
(self)
testing/python/metafunc.py:71
Methodtest_parametrize_error_iterator
(self)
testing/python/metafunc.py:86
Methodtest_parametrize_function_scoped_finalizers_called
( self, pytester: Pytester )
testing/python/fixtures.py:2986
Methodtest_parametrize_functional
(self, pytester: Pytester)
testing/python/metafunc.py:854
Methodtest_parametrize_functional2
(self, pytester: Pytester)
testing/python/metafunc.py:1110
Methodtest_parametrize_gives_indicative_error_on_function_with_default_argument
( self, pytester: Pytester )
testing/python/metafunc.py:837
Methodtest_parametrize_ids_exception
:param pytester: the instance of Pytester class, a temporary test directory.
testing/python/metafunc.py:566
Methodtest_parametrize_ids_iterator_without_mark
(self)
testing/python/metafunc.py:229
Methodtest_parametrize_ids_returns_non_string
(self, pytester: Pytester)
testing/python/metafunc.py:591
Methodtest_parametrize_indirect
#714
testing/python/metafunc.py:639
Methodtest_parametrize_indirect_list
#714
testing/python/metafunc.py:654
Methodtest_parametrize_indirect_list_all
#714
testing/python/metafunc.py:665
Methodtest_parametrize_indirect_list_empty
#714
testing/python/metafunc.py:676
Methodtest_parametrize_indirect_list_error
#714
testing/python/metafunc.py:726
Methodtest_parametrize_indirect_list_functional
#714 Test parametrization with 'indirect' parameter applied on particular arguments. As y is direct, its value should
testing/python/metafunc.py:698
Methodtest_parametrize_indirect_uses_no_fixture_error_indirect_list
#714
testing/python/metafunc.py:799
Methodtest_parametrize_indirect_uses_no_fixture_error_indirect_string
#714
testing/python/metafunc.py:780
Methodtest_parametrize_indirect_wrong_type
(self)
testing/python/metafunc.py:687
Methodtest_parametrize_issue323
(self, pytester: Pytester)
testing/python/metafunc.py:1336
Methodtest_parametrize_issue634
(self, pytester: Pytester)
testing/python/metafunc.py:1567
Functiontest_parametrize_iterator
`parametrize` should work with generators (#5354).
testing/test_mark.py:449
Methodtest_parametrize_iterator
(self, pytester: Pytester)
testing/python/metafunc.py:1873
Methodtest_parametrize_marked_value
(self, pytester: Pytester, strict: bool)
testing/python/metafunc.py:1792
Methodtest_parametrize_misspelling
#463
testing/python/metafunc.py:1412
Methodtest_parametrize_multiple_times
(self, pytester: Pytester)
testing/python/metafunc.py:901
Methodtest_parametrize_on_setup_arg
(self, pytester: Pytester)
testing/python/metafunc.py:1149
Methodtest_parametrize_onearg
(self)
testing/python/metafunc.py:875
Methodtest_parametrize_onearg_indirect
(self)
testing/python/metafunc.py:884
Methodtest_parametrize_overrides_fixture
Test parametrization when parameter overrides existing fixture with same name.
testing/python/collect.py:413
Methodtest_parametrize_overrides_indirect_dependency_fixture
Test parametrization when parameter overrides a fixture that a test indirectly depends on
testing/python/collect.py:463
Methodtest_parametrize_overrides_parametrized_fixture
Test parametrization when parameter overrides existing parametrized fixture with same name.
testing/python/collect.py:442
Methodtest_parametrize_passed
(self, pytester: Pytester)
testing/python/collect.py:654
Methodtest_parametrize_positional_args
(self, pytester: Pytester)
testing/python/metafunc.py:1860
← previousnext →3,501–3,600 of 4,602, ranked by callers