MCPcopy Create free account

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

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

Functiontest_pdb_teardown_skipped
With --pdb, setUp and tearDown should not be called for skipped tests.
testing/test_unittest.py:1244
Methodtest_pdb_unittest_postmortem
(self, pytester: Pytester)
testing/test_debugging.py:166
Methodtest_pdb_unittest_skip
Test for issue #2137
testing/test_debugging.py:186
Methodtest_pdb_used_in_generate_tests
(self, pytester: Pytester)
testing/test_debugging.py:765
Methodtest_pdb_used_outside_test
(self, pytester: Pytester)
testing/test_debugging.py:751
Methodtest_pdb_validate_usepdb_cls
(self)
testing/test_debugging.py:863
Methodtest_pdb_with_caplog_on_pdb_invocation
(self, pytester: Pytester)
testing/test_debugging.py:446
Methodtest_pdb_with_injected_do_debug
Simulates pdbpp, which injects Pdb into do_debug, and uses self.__class__ in do_continue.
testing/test_debugging.py:567
Methodtest_pdb_without_capture
(self, pytester: Pytester)
testing/test_debugging.py:642
Functiontest_pdb_wrapper_class_is_reused
(pytester: Pytester)
testing/test_debugging.py:1300
Functiontest_pdbcls_via_local_module
It should be imported in pytest_configure or later only.
testing/test_debugging.py:1238
Functiontest_pformat_dispatch
()
testing/io/test_saferepr.py:161
Methodtest_pkgfile
Verify nesting when a module is within a package. The parent chain should match: Module<x.py> -> Package<subdir> -> Session. Sessi
testing/test_collection.py:654
Methodtest_place_initial_imports
(self)
testing/test_assertrewrite.py:72
Functiontest_plain_unittest_does_not_support_async
Async functions in plain unittest.TestCase subclasses are not supported without plugins. This test exists here to avoid introducing this support
testing/test_unittest.py:1294
Functiontest_plugin_already_exists
(pytester: Pytester)
testing/test_session.py:259
Functiontest_plugin_loading_order
Test order of plugin loading with `-p`.
testing/test_config.py:1104
Functiontest_plugin_nameversion
(input, expected)
testing/test_terminal.py:75
Functiontest_plugin_preparse_prevents_setuptools_loading
( pytester: Pytester, monkeypatch: MonkeyPatch, block_it: bool )
testing/test_config.py:1021
Methodtest_plugin_prevent_register
(self, pytestpm: PytestPluginManager)
testing/test_pluginmanager.py:386
Methodtest_plugin_prevent_register_stepwise_on_cacheprovider_unregister
From PR #4304: The only way to unregister a module is documented at the end of https://docs.pytest.org/en/stable/how-to/plugins.html.
testing/test_pluginmanager.py:404
Methodtest_plugin_prevent_register_unregistered_alredy_registered
( self, pytestpm: PytestPluginManager )
testing/test_pluginmanager.py:394
Methodtest_plugin_skip
(self, pytester: Pytester, monkeypatch: MonkeyPatch)
testing/test_pluginmanager.py:274
Functiontest_plugin_specify
(pytester: Pytester)
testing/test_session.py:251
Methodtest_pluginmanager_ENV_startup
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_pluginmanager.py:307
Methodtest_plugins_given_as_strings
Test that str values passed to main() as `plugins` arg are interpreted as module names to be imported and registered (#855).
testing/acceptance_test.py:462
Functiontest_popen_default_stdin_stderr_and_stdin_None
(pytester: Pytester)
testing/test_pytester.py:688
Functiontest_popen_stdin_bytes
(pytester: Pytester)
testing/test_pytester.py:675
Functiontest_popen_stdin_pipe
(pytester: Pytester)
testing/test_pytester.py:661
Methodtest_preparse_args
(self, pytestpm: PytestPluginManager)
testing/test_pluginmanager.py:369
Functiontest_preparse_ordering_with_setuptools
( pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_config.py:933
Methodtest_preserve_container
(self, monkeypatch: MonkeyPatch)
testing/test_pytester.py:366
Methodtest_preserve_container
(self, monkeypatch: MonkeyPatch, path_type)
testing/test_pytester.py:409
Functiontest_preserve_keys_order
Ensure keys order is preserved when saving dicts (#9205).
testing/test_cacheprovider.py:1213
Methodtest_preserve_modules
(self, monkeypatch: MonkeyPatch)
testing/test_pytester.py:348
Methodtest_print_unicode_value
Test case for issue 3583: Printing Unicode in doctest under Python 2.7 doesn't work
testing/test_doctest.py:765
Functiontest_private_is_deprecated
()
testing/deprecated_test.py:131
Functiontest_publish
()
testing/plugins_integration/bdd_wallet.py:10
Functiontest_py36_windowsconsoleio_workaround_non_standard_streams
Ensure _py36_windowsconsoleio_workaround function works with objects that do not implement the full ``io``-based stream protocol, for example
testing/test_capture.py:1436
Methodtest_pyargs_filename_looks_like_module
(self, pytester: Pytester)
testing/acceptance_test.py:616
Methodtest_pyargs_importerror
(self, pytester: Pytester, monkeypatch)
testing/acceptance_test.py:589
Methodtest_pyargs_only_imported_once
(self, pytester: Pytester)
testing/acceptance_test.py:599
Methodtest_pyc_vs_pyo
(self, pytester: Pytester, monkeypatch)
testing/test_assertrewrite.py:905
Methodtest_pycache_is_a_file
(self, pytester: Pytester)
testing/test_assertrewrite.py:756
Methodtest_pycache_is_readonly
(self, pytester: Pytester)
testing/test_assertrewrite.py:765
Methodtest_pydoc
(self, pytester: Pytester)
testing/acceptance_test.py:516
Methodtest_pyfunc_call
(self, pytester: Pytester)
testing/python/collect.py:542
Methodtest_pypath
Dotted name and parts.
testing/test_main.py:154
Methodtest_pyproject_toml
(self, pytester: Pytester)
testing/test_config.py:131
Functiontest_pytest_addopts_before_pytester
(request, monkeypatch: MonkeyPatch)
testing/test_pytester.py:620
Methodtest_pytest_assertrepr_compare_called
(self, pytester: Pytester)
testing/test_assertion.py:300
Functiontest_pytest_assertrepr_compare_integration
(pytester: Pytester)
testing/test_assertion.py:1286
Functiontest_pytest_cmdline_main
(pytester: Pytester)
testing/test_runner.py:780
Methodtest_pytest_collect_file
(self, pytester: Pytester)
testing/test_collection.py:275
Methodtest_pytest_collect_file_from_sister_dir
(self, pytester: Pytester)
testing/test_collection.py:437
Functiontest_pytest_collect_module_deprecated
(attribute)
testing/deprecated_test.py:16
Functiontest_pytest_configure_warning
Issue 5115.
testing/test_warnings.py:638
Methodtest_pytest_custom_cfg_unsupported
(self, pytester: Pytester)
testing/test_config.py:1879
Functiontest_pytest_entry_points_are_identical
()
testing/test_entry_points.py:4
Methodtest_pytest_exists_in_namespace_all
(self, attr: str)
testing/test_mark.py:18
Functiontest_pytest_exit
()
testing/test_runner.py:550
Functiontest_pytest_exit_msg
(pytester: Pytester)
testing/test_runner.py:563
Functiontest_pytest_exit_returncode
(pytester: Pytester)
testing/test_runner.py:586
Functiontest_pytest_fail
()
testing/test_runner.py:556
Functiontest_pytest_fail_notrace_collection
Test pytest.fail(..., pytrace=False) does not show tracebacks during collection.
testing/test_runner.py:633
Functiontest_pytest_fail_notrace_non_ascii
Fix pytest.fail with pytrace=False with non-ascii characters (#1178). This tests with native and unicode strings containing non-ascii chars.
testing/test_runner.py:648
Functiontest_pytest_fail_notrace_runtest
Test pytest.fail(..., pytrace=False) does not show tracebacks during test run.
testing/test_runner.py:617
Functiontest_pytest_fixture_setup_and_post_finalizer_hook
(pytester: Pytester)
testing/python/fixtures.py:3907
Methodtest_pytest_fs_collect_hooks_are_seen
(self, pytester: Pytester)
testing/test_collection.py:421
Methodtest_pytest_ini
[pytest] section in pytest.ini files is read correctly
testing/test_findpaths.py:18
Methodtest_pytest_make_parametrize_id
(self, pytester: Pytester)
testing/python/metafunc.py:1816
Methodtest_pytest_make_parametrize_id_with_argname
(self, pytester: Pytester)
testing/python/metafunc.py:1835
Methodtest_pytest_mark_name_starts_with_underscore
(self)
testing/test_mark.py:41
Methodtest_pytest_mark_notcallable
(self)
testing/test_mark.py:22
Functiontest_pytest_no_tests_collected_exit_status
(pytester: Pytester)
testing/test_runner.py:666
Functiontest_pytest_param_id_allows_none_or_string
(s)
testing/test_mark.py:1112
Functiontest_pytest_param_id_requires_string
()
testing/test_mark.py:1104
Functiontest_pytest_plugins_as_module
Do not raise an error if pytest_plugins attribute is a module (#3899)
testing/acceptance_test.py:993
Methodtest_pytest_plugins_in_non_top_level_conftest_unsupported
( self, pytester: Pytester )
testing/test_config.py:1892
Methodtest_pytest_plugins_in_non_top_level_conftest_unsupported_no_false_positives
( self, pytester: Pytester )
testing/test_config.py:1967
Methodtest_pytest_plugins_in_non_top_level_conftest_unsupported_no_top_level_conftest
( self, pytester: Pytester )
testing/test_config.py:1941
Methodtest_pytest_plugins_in_non_top_level_conftest_unsupported_pyargs
When using --pyargs, do not emit the warning about non-top-level conftest warnings (#4039, #4044)
testing/test_config.py:1914
Methodtest_pytest_plugins_rewrite
(self, pytester: Pytester, mode)
testing/test_assertion.py:98
Methodtest_pytest_plugins_rewrite_module_names
Test that pluginmanager correct marks pytest_plugins variables for assertion rewriting if they are defined as plain strings or list of
testing/test_assertion.py:127
Methodtest_pytest_plugins_rewrite_module_names_correctly
Test that we match files correctly when they are marked for rewriting (#2939).
testing/test_assertion.py:153
Methodtest_pytest_pycollect_makeitem
(self, pytester: Pytester)
testing/python/collect.py:882
Methodtest_pytest_pycollect_module
(self, pytester: Pytester)
testing/python/collect.py:806
Methodtest_pytest_report_header
(self, pytester: Pytester, option)
testing/test_terminal.py:1453
Methodtest_pytest_setup_cfg_unsupported
(self, pytester: Pytester)
testing/test_config.py:1868
Functiontest_pytest_warnings_repr_integration_test
Small integration test to ensure our small hack of setting the __module__ attribute of our warnings actually works (#5452).
testing/test_warning_types.py:24
Functiontest_pytestconfig_is_session_scoped
()
testing/python/integration.py:336
Functiontest_pytester_assert_outcomes_warnings
(pytester: Pytester)
testing/test_pytester.py:827
Functiontest_pytester_makefile_dot_prefixes_extension_with_warning
( pytester: Pytester, )
testing/test_pytester.py:816
Functiontest_pytester_outcomes_deselected
(pytester: Pytester)
testing/test_pytester.py:842
Functiontest_pytester_outcomes_with_multiple_errors
(pytester: Pytester)
testing/test_pytester.py:759
Functiontest_pytester_run_no_timeout
(pytester: Pytester)
testing/test_pytester.py:455
Functiontest_pytester_run_timeout_expires
(pytester: Pytester)
testing/test_pytester.py:474
Functiontest_pytester_run_with_timeout
(pytester: Pytester)
testing/test_pytester.py:460
Functiontest_pytester_runs_with_plugin
(pytester: Pytester)
testing/test_pytester.py:83
Functiontest_pytester_subprocess
(pytester: Pytester)
testing/test_pytester.py:424
← previousnext →3,701–3,800 of 4,602, ranked by callers