MCPcopy Create free account

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

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

Functiontest_context_classmethod
()
testing/test_monkeypatch.py:413
Functiontest_continue_on_collection_errors
Verify tests are executed even when collection errors occur when the --continue-on-collection-errors flag is set
testing/test_collection.py:972
Functiontest_continue_on_collection_errors_maxfail
Verify tests are executed even when collection errors occur and that maxfail is honoured (including the collection error count). 4 tests:
testing/test_collection.py:987
Methodtest_continue_on_failure
(self, pytester: Pytester)
testing/test_doctest.py:1150
Methodtest_core_backward_compatibility
Test backward compatibility for get_plugin_manager function. See #787.
testing/acceptance_test.py:835
Methodtest_count
(self, many_tests_files, pytester: Pytester)
testing/test_terminal.py:2024
Functiontest_crash_during_shutdown_captured
Re-enable faulthandler if pytest encountered it enabled during configure. We should be able to then see crashes during interpreter shutdown.
testing/test_faulthandler.py:33
Functiontest_crash_during_shutdown_not_captured
Check that pytest leaves faulthandler disabled if it was not enabled during configure. This prevents us from seeing crashes during interprete
testing/test_faulthandler.py:45
Functiontest_crash_on_closing_tmpfile_py27
( pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_capture.py:1465
Methodtest_create_new_paste
(self, pastebin, mocked_urlopen)
testing/test_pastebin.py:162
Methodtest_create_new_paste_failure
(self, pastebin, monkeypatch: MonkeyPatch)
testing/test_pastebin.py:174
Functiontest_current_test_env_var
(pytester: Pytester, monkeypatch: MonkeyPatch)
testing/test_runner.py:910
Methodtest_custom_abs_cache_dir
( self, pytester: Pytester, tmp_path_factory: TempPathFactory )
testing/test_cacheprovider.py:145
Methodtest_custom_cache_dir_with_env_var
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_cacheprovider.py:162
Methodtest_custom_cfg_file
Custom .cfg files without [tool:pytest] section are not considered for configuration
testing/test_findpaths.py:36
Methodtest_custom_failure_repr
(self, pytester: Pytester)
testing/test_runner.py:224
Methodtest_custom_ini
[pytest] section in any .ini file is read correctly
testing/test_findpaths.py:24
Methodtest_custom_ini_without_section
Custom .ini files without [pytest] section are not considered for configuration
testing/test_findpaths.py:30
Methodtest_custom_name
(self, pytester: Pytester)
testing/python/fixtures.py:3742
Methodtest_custom_norecursedirs
(self, pytester: Pytester)
testing/test_collection.py:225
Methodtest_custom_prog
Custom prog can be set for `argparse.ArgumentParser`.
testing/test_parseopt.py:25
Methodtest_custom_rel_cache_dir
(self, pytester: Pytester)
testing/test_cacheprovider.py:131
Methodtest_custom_repr
(self)
doc/en/example/assertion/failure_demo.py:272
Methodtest_custom_repr
(self, request)
testing/test_assertrewrite.py:719
Methodtest_custom_repr_failure
(self, pytester: Pytester)
testing/test_collection.py:291
Methodtest_custom_repr_non_ascii
(self)
testing/test_assertrewrite.py:738
Methodtest_custom_reprcompare
(self, monkeypatch)
testing/test_assertrewrite.py:669
Methodtest_custom_tolerances
(self)
testing/python/approx.py:436
Methodtest_custom_toml_file
.toml files without [tool.pytest.ini_options] are not considered for configuration.
testing/test_findpaths.py:62
Methodtest_customized_pymakeitem
(self, pytester: Pytester)
testing/python/collect.py:848
Methodtest_customized_pymakemodule_issue205_subdir
(self, pytester: Pytester)
testing/python/collect.py:822
Functiontest_customized_python_discovery
(pytester: Pytester)
testing/python/collect.py:1208
Functiontest_customized_python_discovery_functions
(pytester: Pytester)
testing/python/collect.py:1238
Methodtest_cwd_changed
(self, pytester: Pytester, monkeypatch)
testing/test_assertrewrite.py:1467
Functiontest_cwd_deleted
(pytester: Pytester)
testing/code/test_excinfo.py:1383
Functiontest_cwd_snapshot
(pytester: Pytester)
testing/test_pytester.py:304
Methodtest_d
(self, path1: Path)
testing/test_pathlib.py:200
Functiontest_dataclasses
()
testing/example_scripts/dataclasses/test_compare_dataclasses.py:5
Methodtest_dataclasses
(self, pytester: Pytester)
testing/test_assertion.py:800
Functiontest_dataclasses_verbose
()
testing/example_scripts/dataclasses/test_compare_dataclasses_verbose.py:5
Methodtest_dataclasses_verbose
(self, pytester: Pytester)
testing/test_assertion.py:871
Functiontest_dataclasses_with_attribute_comparison_off
()
testing/example_scripts/dataclasses/test_compare_dataclasses_field_comparison_off.py:5
Methodtest_dataclasses_with_attribute_comparison_off
( self, pytester: Pytester )
testing/test_assertion.py:885
Functiontest_debug
(pytester: Pytester)
testing/test_helpconfig.py:111
Methodtest_debug_help
(self, pytester: Pytester)
testing/test_config.py:2107
Methodtest_decimal
(self)
testing/python/approx.py:513
Functiontest_decorator
()
testing/code/test_source.py:621
Functiontest_def_online
()
testing/code/test_source.py:610
Functiontest_default_markers
(pytester: Pytester)
testing/test_skipping.py:1191
Functiontest_default_markers
(pytester: Pytester)
testing/test_pluginmanager.py:185
Methodtest_default_tolerances
(self)
testing/python/approx.py:417
Methodtest_default_verbosity
(self, pytester: Pytester)
testing/test_assertrewrite.py:1828
Functiontest_deferred_hook_checking
Check hooks as late as possible (#1821).
testing/acceptance_test.py:1007
Functiontest_deindent
()
testing/code/test_source.py:275
Functiontest_delattr
()
testing/test_monkeypatch.py:93
Methodtest_delattr
(self, monkeypatch: MonkeyPatch)
testing/test_monkeypatch.py:86
Functiontest_delenv
()
testing/test_monkeypatch.py:184
Functiontest_delitem
()
testing/test_monkeypatch.py:156
Methodtest_deprecated_call_exception_is_raised
If the block of the code being tested by deprecated_call() raises an exception, it must raise the exception undisturbed.
testing/test_recwarn.py:177
Methodtest_deprecated_call_modes
Ensure deprecated_call() captures a deprecation warning as expected inside its block/function.
testing/test_recwarn.py:158
Methodtest_deprecated_call_no_warning
Ensure deprecated_call() raises the expected failure when its block/function does not raise a deprecation warning.
testing/test_recwarn.py:136
Methodtest_deprecated_call_preserves
(self)
testing/test_recwarn.py:113
Methodtest_deprecated_call_ret
(self)
testing/test_recwarn.py:109
Methodtest_deprecated_call_specificity
(self)
testing/test_recwarn.py:192
Methodtest_deprecated_call_supports_match
(self)
testing/test_recwarn.py:213
Methodtest_deprecated_explicit_call
(self)
testing/test_recwarn.py:131
Methodtest_deprecated_explicit_call_raises
(self)
testing/test_recwarn.py:127
Functiontest_deprecation_of_cmdline_preparse
(pytester: Pytester)
testing/deprecated_test.py:265
Functiontest_deselect
(pytester: Pytester)
testing/test_session.py:292
Methodtest_deselected
(self, pytester: Pytester)
testing/test_terminal.py:674
Methodtest_deselected_with_hookwrapper
(self, pytester: Pytester)
testing/test_terminal.py:693
Methodtest_deserialization_failure
Check handling of failure during deserialization of report types.
testing/test_reports.py:252
Methodtest_detect_recursive_dependency_error
(self, pytester: Pytester)
testing/python/fixtures.py:122
Methodtest_deterministic_fixture_collection
#920
testing/python/fixtures.py:3173
Methodtest_dict
(self)
testing/test_assertion.py:586
Methodtest_dict
(self)
testing/python/approx.py:586
Methodtest_dict_decimal
(self)
testing/python/approx.py:598
Methodtest_dict_different_items
(self)
testing/test_assertion.py:615
Methodtest_dict_nonnumeric
(self)
testing/python/approx.py:611
Methodtest_dict_omitting
(self)
testing/test_assertion.py:591
Methodtest_dict_omitting_with_verbosity_1
Ensure differing items are visible for verbosity=1 (#1512).
testing/test_assertion.py:599
Methodtest_dict_omitting_with_verbosity_2
(self)
testing/test_assertion.py:608
Methodtest_dict_vs_other
(self)
testing/python/approx.py:615
Methodtest_dict_wrap
(self)
testing/test_assertion.py:551
Methodtest_dict_wrong_len
(self)
testing/python/approx.py:606
Functiontest_diff_newline_at_end
(pytester: Pytester)
testing/test_assertion.py:1540
Methodtest_different_types
(self)
testing/test_assertion.py:335
Methodtest_dir
Directory and parts.
testing/test_main.py:137
Methodtest_dir
(self, tmp_path: Path)
testing/test_pathlib.py:173
Methodtest_direct_addressing_notfound
(self, pytester: Pytester)
testing/acceptance_test.py:346
Methodtest_direct_addressing_selects
(self, pytester: Pytester)
testing/acceptance_test.py:333
Methodtest_directory_skipped
(self, pytester: Pytester)
testing/acceptance_test.py:283
Functiontest_disable_plugin_autoload
( pytester: Pytester, monkeypatch: MonkeyPatch, parse_args: Union[Tuple[str, str], Tuple[()]],
testing/test_config.py:1060
Methodtest_disable_warnings_plugin_disables_config_warnings
Disabling 'warnings' plugin also disables config time warnings
testing/test_config.py:294
Functiontest_disabled
Test option to disable fault handler in the command line.
testing/test_faulthandler.py:57
Methodtest_disabled_capture_fixture
( self, pytester: Pytester, fixture: str, no_capture: bool )
testing/test_capture.py:622
Methodtest_disabled_capture_fixture_twice
Test that an inner disabled() exit doesn't undo an outer disabled(). Issue #7148.
testing/test_capture.py:650
Functiontest_djangolike_testcase
(pytester: Pytester)
testing/test_unittest.py:668
Functiontest_do_class_cleanups_on_setupclass_failure
(pytester: Pytester)
testing/test_unittest.py:1348
Functiontest_do_class_cleanups_on_success
(pytester: Pytester)
testing/test_unittest.py:1320
← previousnext →2,501–2,600 of 4,602, ranked by callers