MCPcopy Create free account

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

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

Methodtest_collect_subdir_event_ordering
(self, pytester: Pytester)
testing/test_collection.py:572
Functiontest_collect_symlink_dir
A symlinked directory is collected.
testing/test_collection.py:1245
Functiontest_collect_symlink_file_arg
Collect a direct symlink works even if it does not match python_files (#4325).
testing/test_collection.py:1202
Functiontest_collect_symlink_out_of_tree
Test collection of symlink via out-of-tree rootdir.
testing/test_collection.py:1217
Methodtest_collect_testtextfile
(self, pytester: Pytester)
testing/test_doctest.py:20
Methodtest_collect_topdir
(self, pytester: Pytester)
testing/test_collection.py:470
Methodtest_collect_two_commandline_args
(self, pytester: Pytester)
testing/test_collection.py:589
Methodtest_collect_versus_item
(self)
testing/test_collection.py:29
Functiontest_collect_with_chdir_during_import
(pytester: Pytester)
testing/test_collection.py:1142
Functiontest_collecterror
(pytester: Pytester)
testing/test_terminal.py:2337
Methodtest_collectignore_exclude_on_option
(self, pytester: Pytester)
testing/test_collection.py:371
Functiontest_collectignore_via_conftest
collect_ignore in parent conftest skips importing child (issue #4592).
testing/test_collection.py:1254
Methodtest_collectignoreglob_exclude_on_option
(self, pytester: Pytester)
testing/test_collection.py:401
Functiontest_collection_collect_only_live_logging
(pytester: Pytester, verbose: str)
testing/logging/test_reporting.py:886
Functiontest_collection_live_logging
(pytester: Pytester)
testing/logging/test_reporting.py:870
Functiontest_collection_logging_to_file
(pytester: Pytester)
testing/logging/test_reporting.py:921
Functiontest_collection_warnings
Check that we also capture warnings issued during test collection (#3251).
testing/test_warnings.py:303
Methodtest_collectonly_basic
(self, pytester: Pytester)
testing/test_terminal.py:408
Methodtest_collectonly_displays_test_description
Used dummy_yaml_custom_test for an Item without ``obj``.
testing/test_terminal.py:430
Methodtest_collectonly_error
(self, pytester: Pytester)
testing/test_terminal.py:496
Methodtest_collectonly_failed_module
(self, pytester: Pytester)
testing/test_terminal.py:458
Methodtest_collectonly_fatal
(self, pytester: Pytester)
testing/test_terminal.py:463
Methodtest_collectonly_missing_path
Issue 115: failure in parseargs will cause session not to have the items attribute.
testing/test_terminal.py:511
Methodtest_collectonly_more_quiet
(self, pytester: Pytester)
testing/test_terminal.py:525
Methodtest_collectonly_quiet
(self, pytester: Pytester)
testing/test_terminal.py:520
Methodtest_collectonly_simple
(self, pytester: Pytester)
testing/test_terminal.py:474
Methodtest_collectonly_skipped_module
(self, pytester: Pytester)
testing/test_terminal.py:420
Functiontest_collector_respects_tbstyle
(pytester: Pytester)
testing/test_collection.py:1333
Methodtest_collectreport_fail
This test came originally from test_remote.py in xdist (ca03269).
testing/test_reports.py:196
Methodtest_collectreport_passed
This test came originally from test_remote.py in xdist (ca03269).
testing/test_reports.py:185
Functiontest_color_no
(pytester: Pytester)
testing/test_terminal.py:1216
Functiontest_color_yes
(pytester: Pytester, color_mapping)
testing/test_terminal.py:1157
Functiontest_color_yes_collection_on_non_atty
#1397: Skip collect progress report when working on non-terminals.
testing/test_terminal.py:1224
Functiontest_colored_ansi_esc_caplogtext
Make sure that caplog.text does not contain ANSI escape sequences.
testing/logging/test_reporting.py:1101
Functiontest_colored_captured_log
Test that the level names of captured log messages of a failing test are colored.
testing/logging/test_reporting.py:1077
Methodtest_colored_progress
( self, pytester: Pytester, monkeypatch, color_mapping )
testing/test_terminal.py:1972
Functiontest_colored_short_level
()
testing/logging/test_formatter.py:151
Functiontest_coloredlogformatter
()
testing/logging/test_formatter.py:8
Functiontest_coloredlogformatter_with_width_precision
()
testing/logging/test_formatter.py:35
Methodtest_combining
(self)
testing/io/test_terminalwriter.py:243
Functiontest_comment_and_no_newline_at_end
()
testing/code/test_source.py:412
Functiontest_comment_in_statement
()
testing/code/test_source.py:457
Functiontest_comments
()
testing/code/test_source.py:431
Functiontest_commonpath
()
testing/test_pathlib.py:413
Methodtest_compare
(self)
doc/en/example/assertion/failure_demo.py:244
Methodtest_compare_with_compgen
( self, tmp_path: Path, monkeypatch: MonkeyPatch )
testing/test_argcomplete.py:70
Methodtest_comparing_two_different_attrs_classes
(self)
testing/test_assertion.py:993
Functiontest_comparing_two_different_data_classes
()
testing/example_scripts/dataclasses/test_compare_two_different_dataclasses.py:5
Methodtest_comparing_two_different_data_classes
(self, pytester: Pytester)
testing/test_assertion.py:895
Methodtest_comparing_two_different_namedtuple
(self)
testing/test_assertion.py:1033
Methodtest_comparison_operator_type_error
pytest.approx should raise TypeError for operators other than == and != (#2003).
testing/python/approx.py:836
Methodtest_comparisons
(self)
testing/test_assertrewrite.py:626
Methodtest_complex
(self)
testing/python/approx.py:536
Methodtest_complex_error
(self)
doc/en/example/assertion/failure_demo.py:206
Methodtest_composed
(self)
testing/io/test_terminalwriter.py:236
Methodtest_confcutdir
(self, pytester: Pytester)
testing/test_config.py:169
Methodtest_confcutdir_check_isdir
Give an error if --confcutdir is not a valid directory (#2078)
testing/test_config.py:804
Functiontest_config_blocked_default_plugins
(pytester: Pytester, plugin: str)
testing/test_config.py:1830
Methodtest_config_cache
(self, pytester: Pytester)
testing/test_cacheprovider.py:96
Methodtest_config_cache_dataerror
(self, pytester: Pytester)
testing/test_cacheprovider.py:27
Methodtest_config_cache_mkdir
(self, pytester: Pytester)
testing/test_cacheprovider.py:17
Functiontest_config_does_not_load_blocked_plugin_from_args
This tests that pytest's config setup handles "-p no:X".
testing/test_config.py:1783
Methodtest_config_error
(self, pytester: Pytester)
testing/acceptance_test.py:22
Methodtest_config_getoption
(self, pytester: Pytester)
testing/test_config.py:550
Methodtest_config_getoption_unicode
(self, pytester: Pytester)
testing/test_config.py:562
Methodtest_config_getvalueorskip
(self, pytester: Pytester)
testing/test_config.py:572
Methodtest_config_getvalueorskip_None
(self, pytester: Pytester)
testing/test_config.py:578
Functiontest_config_in_subdirectory_colon_command_line_issue2148
( pytester: Pytester, )
testing/test_config.py:1198
Methodtest_config_preparse_plugin_option
(self, pytester: Pytester)
testing/acceptance_test.py:88
Methodtest_config_trace
(self, pytester: Pytester)
testing/test_config.py:542
Methodtest_configure
(self, pytester: Pytester)
testing/test_pluginmanager.py:81
Methodtest_conftest
Directory containing conftest modules are not put in sys.path as a side-effect of importing them.
testing/test_collection.py:1422
Methodtest_conftest_assertion_rewrite
Test that conftest files are using assertion rewrite on import (#1619).
testing/test_assertion.py:33
Functiontest_conftest_badcase
Check conftest.py loading when directory casing is wrong (#5792).
testing/test_conftest.py:334
Functiontest_conftest_confcutdir
(pytester: Pytester)
testing/test_conftest.py:236
Functiontest_conftest_exception_handling
(pytester: Pytester)
testing/test_conftest.py:644
Functiontest_conftest_existing_junitxml
(pytester: Pytester)
testing/test_conftest.py:364
Functiontest_conftest_found_with_double_dash
(pytester: Pytester)
testing/test_conftest.py:444
Methodtest_conftest_funcargs_only_available_in_subdir
( self, pytester: Pytester )
testing/python/fixtures.py:150
Functiontest_conftest_global_import
(pytester: Pytester)
testing/test_conftest.py:154
Functiontest_conftest_import_error_repr
`ConftestImportFailure` should use a short error message and readable path to the failed conftest.py file.
testing/test_config.py:1987
Functiontest_conftest_import_order
(pytester: Pytester, monkeypatch: MonkeyPatch)
testing/test_conftest.py:379
Functiontest_conftest_in_nonpkg_with_init
(tmp_path: Path, _sys_snapshot)
testing/test_conftest.py:122
Methodtest_conftest_printing_shows_if_error
(self, pytester: Pytester)
testing/acceptance_test.py:258
Functiontest_conftest_symlink
`conftest.py` discovery follows normal path resolution and does not resolve symlinks.
testing/test_conftest.py:252
Functiontest_conftest_symlink_files
Symlinked conftest.py are found when pytest is executed in a directory with symlinked files.
testing/test_conftest.py:297
Functiontest_conftest_uppercase
Check conftest.py whose qualified name contains uppercase characters (#5819)
testing/test_conftest.py:345
Methodtest_conftest_warning_captured
Warnings raised during importing of conftest.py files is captured (#2891).
testing/test_warnings.py:720
Functiontest_conftestcutdir
(pytester: Pytester)
testing/test_conftest.py:181
Functiontest_conftestcutdir_inplace_considered
(pytester: Pytester)
testing/test_conftest.py:209
Methodtest_conftestlogging_and_test_logging
(self, pytester: Pytester)
testing/test_capture.py:374
Methodtest_conftestlogging_is_shown
(self, pytester: Pytester)
testing/test_capture.py:360
Functiontest_consider_args_after_options_for_rootdir
Consider all arguments in the command-line for rootdir discovery, even if they happen to occur after an option. #949
testing/test_config.py:1169
Methodtest_consider_conftest_deps
( self, pytester: Pytester, pytestpm: PytestPluginManager, )
testing/test_pluginmanager.py:356
Methodtest_consider_env_fails_to_import
( self, monkeypatch: MonkeyPatch, pytestpm: PytestPluginManager )
testing/test_pluginmanager.py:266
Methodtest_consider_env_plugin_instantiation
( self, pytester: Pytester, monkeypatch: MonkeyPatch, pytestpm: PytestPluginMa
testing/test_pluginmanager.py:289
Methodtest_consider_module
( self, pytester: Pytester, pytestpm: PytestPluginManager )
testing/test_pluginmanager.py:236
Methodtest_consider_module_import_module
( self, pytester: Pytester, _config_for_test: Config )
testing/test_pluginmanager.py:248
Methodtest_contains_unicode
Fix internal error with docstrings containing non-ascii characters.
testing/test_doctest.py:677
Functiontest_context
()
testing/test_monkeypatch.py:401
← previousnext →2,401–2,500 of 4,602, ranked by callers