MCPcopy Create free account

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

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

Methodtest_honors_pep_235
(self, pytester: Pytester, monkeypatch)
testing/test_assertrewrite.py:168
Methodtest_hook_call
(self, pytester: Pytester, flag_on, hook_on)
testing/test_assertrewrite.py:1511
Methodtest_hook_call_with_parens
(self, pytester: Pytester, flag_on, hook_on)
testing/test_assertrewrite.py:1532
Methodtest_hook_not_called_without_cmd_option
Assertion pass should not be called (and hence formatting should not occur) if there is no hook declared for pytest_assertion_pass
testing/test_assertrewrite.py:1570
Methodtest_hook_not_called_without_hookimpl
Assertion pass should not be called (and hence formatting should not occur) if there is no hook declared for pytest_assertion_pass
testing/test_assertrewrite.py:1543
Functiontest_hook_proxy
Session's gethookproxy() would cache conftests incorrectly (#2016). It was decided to remove the cache altogether.
testing/test_conftest.py:661
Methodtest_hook_proxy
Test the gethookproxy function(#2016)
testing/test_pluginmanager.py:134
Methodtest_hook_tracing
(self, _config_for_test: Config)
testing/test_pluginmanager.py:101
Methodtest_hook_with_addoption
Test that hooks can be used in a call to pytest_addoption
testing/test_pluginmanager.py:154
Functiontest_hookproxy_warnings_for_pathlib
(tmp_path, hooktype, request)
testing/deprecated_test.py:163
Functiontest_hookrecorder_basic
(holder)
testing/test_pytester.py:191
Functiontest_hookvalidation_optional
(pytester: Pytester)
testing/test_helpconfig.py:93
Functiontest_hookvalidation_unknown
(pytester: Pytester)
testing/test_helpconfig.py:81
Methodtest_hostname_in_xml
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:199
Methodtest_idfn_fixture
(self, pytester: Pytester)
testing/python/integration.py:452
Methodtest_idfn_marker
(self, pytester: Pytester)
testing/python/integration.py:431
Methodtest_idmaker_autoname
#250
testing/python/metafunc.py:376
Methodtest_idmaker_enum
(self)
testing/python/metafunc.py:454
Methodtest_idmaker_idfn
#351
testing/python/metafunc.py:460
Methodtest_idmaker_idfn_unique_names
#351
testing/python/metafunc.py:479
Methodtest_idmaker_manual_ids_must_be_printable
(self)
testing/python/metafunc.py:444
Methodtest_idmaker_native_strings
(self)
testing/python/metafunc.py:395
Methodtest_idmaker_non_printable_characters
(self)
testing/python/metafunc.py:430
Methodtest_idmaker_with_bytes_regex
(self)
testing/python/metafunc.py:391
Methodtest_idmaker_with_idfn_and_config
Unit test for expected behavior to create ids with idfn and disable_test_id_escaping_and_forfeit_all_rights_to_community_support optio
testing/python/metafunc.py:496
Methodtest_idmaker_with_ids
(self)
testing/python/metafunc.py:619
Methodtest_idmaker_with_ids_and_config
Unit test for expected behavior to create ids with ids and disable_test_id_escaping_and_forfeit_all_rights_to_community_support option
testing/python/metafunc.py:531
Methodtest_idmaker_with_ids_unique_names
(self)
testing/python/metafunc.py:633
Methodtest_idmaker_with_paramset_id
(self)
testing/python/metafunc.py:625
Methodtest_idval_hypothesis
(self, value)
testing/python/metafunc.py:288
Functiontest_ignore
(pytester: Pytester, pyfile_with_warnings, method)
testing/test_warnings.py:111
Methodtest_ignore_collect_not_called_on_argument
(self, pytester: Pytester)
testing/test_collection.py:356
Methodtest_ignore_collect_path
(self, pytester: Pytester)
testing/test_collection.py:340
Methodtest_ignore_import_errors_on_doctest
(self, pytester: Pytester)
testing/test_doctest.py:691
Methodtest_ignored_certain_directories
(self, pytester: Pytester)
testing/test_collection.py:132
Methodtest_ignored_virtualenvs
(self, pytester: Pytester, fname: str)
testing/test_collection.py:161
Methodtest_ignored_virtualenvs_norecursedirs_precedence
( self, pytester: Pytester, fname: str )
testing/test_collection.py:188
Methodtest_ignored_whitespace
(self, pytester: Pytester)
testing/test_doctest.py:601
Methodtest_ignored_whitespace_glob
(self, pytester: Pytester)
testing/test_doctest.py:643
Methodtest_immediate_initialiation_and_incremental_are_the_same
( self, basedir: Path )
testing/test_conftest.py:67
Functiontest_imperativeskip_on_xfail_test
(pytester: Pytester)
testing/test_skipping.py:1222
Methodtest_import_after
(self, tmp_path: Path)
testing/test_pathlib.py:205
Methodtest_import_duplicate
(self, pytester: Pytester)
testing/python/collect.py:23
Methodtest_import_plugin_dotted_name
( self, pytester: Pytester, pytestpm: PytestPluginManager )
testing/test_pluginmanager.py:343
Methodtest_import_plugin_importname
( self, pytester: Pytester, pytestpm: PytestPluginManager )
testing/test_pluginmanager.py:324
Functiontest_import_plugin_unicode_name
(pytester: Pytester)
testing/acceptance_test.py:985
Methodtest_import_prepend_append
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/python/collect.py:45
Methodtest_import_star_pytest
(self, pytester: Pytester)
testing/acceptance_test.py:522
Functiontest_importerror
(pytester: Pytester)
testing/test_monkeypatch.py:313
Functiontest_importing_instance_is_deprecated
(pytester: Pytester)
testing/deprecated_test.py:299
Functiontest_importlib_metadata_broken_distribution
Integration test for broken distributions with 'files' metadata being None (#5389)
testing/test_config.py:994
Methodtest_importmode_importlib
`importlib` mode does not change sys.path.
testing/test_pathlib.py:279
Methodtest_importmode_importlib_with_dataclass
Ensure that importlib mode works with a module containing dataclasses (#7856).
testing/test_pathlib.py:454
Methodtest_importmode_importlib_with_pickle
Ensure that importlib mode works with pickle (#7859).
testing/test_pathlib.py:476
Methodtest_importmode_importlib_with_pickle_separate_modules
Ensure that importlib mode works can load pickles that look similar but are defined in separate modules.
testing/test_pathlib.py:500
Methodtest_importmode_twice_is_different_module
`importlib` mode always returns a new module.
testing/test_pathlib.py:289
Functiontest_importorskip
()
testing/test_skipping.py:1422
Functiontest_importorskip
(monkeypatch)
testing/test_runner.py:698
Functiontest_importorskip_custom_reason
Make sure custom reasons are used.
testing/test_runner.py:764
Functiontest_importorskip_dev_module
(monkeypatch)
testing/test_runner.py:736
Functiontest_importorskip_imports_last_module_part
()
testing/test_runner.py:731
Functiontest_importorskip_module_level
`importorskip` must be able to skip entire modules when used at module level.
testing/test_runner.py:749
Functiontest_importplugin_error_message
Don't hide import errors when importing plugins and provide an easy to debug message. See #375 and #1998.
testing/test_pluginmanager.py:190
Methodtest_in_list
(self)
doc/en/example/assertion/failure_demo.py:79
Methodtest_increased_verbosity
(self, pytester: Pytester)
testing/test_assertrewrite.py:1833
Functiontest_indirect_fixture_does_not_break_scope
Ensure that fixture scope is respected when using indirect fixtures (#570)
testing/python/fixtures.py:4351
Methodtest_inf_tolerance
(self)
testing/python/approx.py:387
Methodtest_inf_tolerance_expecting_zero
(self)
testing/python/approx.py:396
Functiontest_ini_controls_global_log_level
(pytester: Pytester)
testing/logging/test_fixture.py:175
Functiontest_ini_markers
(pytester: Pytester)
testing/test_mark.py:65
Functiontest_ini_markers_whitespace
(pytester: Pytester)
testing/test_mark.py:104
Methodtest_ini_names
(self, pytester: Pytester, name, section)
testing/test_config.py:117
Methodtest_ini_parse_error
(self, pytester: Pytester)
testing/test_config.py:162
Functiontest_inifile_from_cmdline_main_hook
Ensure Config.inifile is available during pytest_cmdline_main (#9396).
testing/test_legacypath.py:166
Methodtest_inifilename
(self, tmp_path: Path)
testing/test_config.py:860
Functiontest_init
()
testing/example_scripts/collect/collect_init_tests/tests/__init__.py:1
Methodtest_init
(self)
testing/io/test_terminalwriter.py:217
Methodtest_init_capturing
(self)
testing/test_capture.py:89
Methodtest_initialization_error_issue49
(self, pytester: Pytester)
testing/acceptance_test.py:364
Functiontest_inlineCallbacks
()
testing/plugins_integration/pytest_twisted_integration.py:12
Functiontest_inlineCallbacks_async
()
testing/plugins_integration/pytest_twisted_integration.py:17
Methodtest_inline_run_sys_modules_snapshot_restore_preserving_modules
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_pytester.py:266
Methodtest_inline_run_taking_and_restoring_a_sys_modules_snapshot
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_pytester.py:245
Methodtest_inline_run_test_module_not_cleaned_up
(self, pytester: Pytester)
testing/test_pytester.py:220
Methodtest_insert_missing_modules
(self)
testing/test_pathlib.py:562
Methodtest_installed_plugin_rewrite
( self, pytester: Pytester, mode, monkeypatch )
testing/test_assertion.py:174
Methodtest_instance
(self)
doc/en/example/assertion/failure_demo.py:240
Methodtest_int
(self)
testing/python/approx.py:505
Methodtest_intermingling
(self)
testing/test_capture.py:1219
Methodtest_internal_error
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:482
Methodtest_internalerror
(self, pytester: Pytester, linecomp)
testing/test_terminal.py:111
Methodtest_invalid_arguments_to_raises
(self)
testing/python/raises.py:134
Methodtest_invalid_config_options
( self, pytester: Pytester, ini_file_text, invalid_keys, warning_outpu
testing/test_config.py:248
Methodtest_invalid_enter_exit
(self)
testing/test_recwarn.py:74
Functiontest_invalid_idents
(ident: str)
testing/test_mark_expression.py:193
Functiontest_invalid_options_show_extra_information
Display extra information when pytest exits due to unrecognized options in the command-line.
testing/test_config.py:1141
Methodtest_invalid_path
(self, tmp_path: Path)
testing/test_pathlib.py:268
Methodtest_invalid_report_types
( self, pytester: Pytester, pytestconfig: Config, hook_name: str )
testing/test_reports.py:469
Methodtest_invalid_scope
(self, pytester: Pytester)
testing/python/fixtures.py:1266
Methodtest_invalid_setup_py
Test to make sure that pytest reads setup.py files that are not used for python packages when ran with --doctest-modules
testing/test_doctest.py:820
← previousnext →3,001–3,100 of 4,602, ranked by callers