MCPcopy Create free account

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

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

Methodtest_function
()
testing/python/metafunc.py:361
Methodtest_function_as_object_instance_ignored
(self, pytester: Pytester)
testing/python/collect.py:274
Methodtest_function_basic
(self)
testing/python/metafunc.py:61
Methodtest_function_equality
(self, pytester: Pytester)
testing/python/collect.py:303
Methodtest_function_equality_with_callspec
(self, pytester: Pytester)
testing/python/collect.py:530
Functiontest_function_instance
(pytester: Pytester)
testing/python/integration.py:481
Functiontest_function_item_obj_is_instance
item.obj should be a bound method on unittest.TestCase function items (#5390).
testing/test_unittest.py:146
Methodtest_function_originalname
(self, pytester: Pytester)
testing/python/collect.py:684
Methodtest_function_with_square_brackets
Check that functions with square brackets don't cause trouble.
testing/python/collect.py:707
Methodtest_generate_same_function_names_issue403
(self, pytester: Pytester)
testing/python/metafunc.py:1394
Methodtest_generate_tests_in_class
(self, pytester: Pytester)
testing/python/metafunc.py:1063
Methodtest_generate_tests_only_done_in_subdir
(self, pytester: Pytester)
testing/python/metafunc.py:1370
Functiontest_generative
(param1, param2)
doc/en/example/assertion/failure_demo.py:18
Methodtest_generic_sized_iterable_object
(self)
testing/python/approx.py:863
Functiontest_get_assertion_exprs
(src, expected)
testing/test_assertrewrite.py:1688
Methodtest_get_cache_dir
(self, monkeypatch, prefix, source, expected)
testing/test_assertrewrite.py:1742
Methodtest_get_data_support
Implement optional PEP302 api (#808).
testing/test_assertrewrite.py:1228
Functiontest_get_dirs_from_args
get_dirs_from_args() skips over non-existing directories and files
testing/test_findpaths.py:124
Functiontest_get_extended_length_path_str
()
testing/test_pathlib.py:370
Methodtest_get_maxsize_for_saferepr
(self, verbose: int, expected_size)
testing/test_assertrewrite.py:1810
Functiontest_get_plugin_specs_as_list
()
testing/test_config.py:1284
Functiontest_get_real_func
Check that get_real_func correctly unwraps decorators until reaching the real function
testing/test_compat.py:59
Functiontest_get_real_func_partial
Test get_real_func handles partial instances correctly
testing/test_compat.py:84
Functiontest_get_stderr_fileno_invalid_fd
Test for faulthandler being able to handle invalid file descriptors for stderr (#8249).
testing/test_faulthandler.py:151
Functiontest_get_user
Test that get_user() function works even if environment variables required by getpass module are missing from the environment on Windows (#101
testing/test_tmpdir.py:222
Functiontest_get_user_uid_not_found
Test that get_user() function works even if the current process's user id does not correspond to a valid user (e.g. running pytest in a Docker
testing/test_tmpdir.py:213
Methodtest_getbasetemp_custom_removes_old
(self, pytester: Pytester)
testing/test_tmpdir.py:71
Methodtest_getcfg_and_config
( self, pytester: Pytester, tmp_path: Path, section: str, filename: st
testing/test_config.py:38
Methodtest_getconftest_pathlist
(self, pytester: Pytester, tmp_path: Path)
testing/test_config.py:595
Methodtest_getcustomfile_roundtrip
(self, pytester: Pytester)
testing/test_collection.py:96
Methodtest_getfixturevalue
(self, pytester: Pytester)
testing/python/fixtures.py:809
Methodtest_getfixturevalue_recursive
(self, pytester: Pytester)
testing/python/fixtures.py:747
Methodtest_getfixturevalue_teardown
Issue #1895 `test_inner` requests `inner` fixture, which in turn requests `resource` using `getfixturevalue`. `test_func` th
testing/python/fixtures.py:771
Functiontest_getfslineno
()
testing/code/test_source.py:350
Functiontest_getfuncargnames_functions
Test getfuncargnames for normal functions
testing/python/fixtures.py:17
Functiontest_getfuncargnames_methods
Test getfuncargnames for normal methods
testing/python/fixtures.py:41
Functiontest_getfuncargnames_partial
Check getfuncargnames for methods defined with functools.partial (#5701)
testing/python/fixtures.py:76
Methodtest_getfuncargnames_patching
(self)
testing/python/integration.py:118
Functiontest_getfuncargnames_staticmethod
Test getfuncargnames for staticmethods
testing/python/fixtures.py:51
Functiontest_getfuncargnames_staticmethod_inherited
Test getfuncargnames for inherited staticmethods (#8061)
testing/python/fixtures.py:62
Functiontest_getfuncargnames_staticmethod_partial
Check getfuncargnames for staticmethods defined with functools.partial (#5701)
testing/python/fixtures.py:90
Functiontest_getfuncsource_dynamic
()
testing/code/test_source.py:247
Functiontest_getfuncsource_with_multine_string
()
testing/code/test_source.py:260
Methodtest_getgroup_simple
(self, parser: parseopt.Parser)
testing/test_parseopt.py:77
Methodtest_getline
(self)
testing/code/test_source.py:100
Functiontest_getline_finally
()
testing/code/test_source.py:232
Methodtest_getmodulecollector
(self, pytester: Pytester)
testing/python/collect.py:267
Methodtest_getoption
(self, pytester: Pytester)
testing/test_config.py:589
Methodtest_getparent_and_accessors
(self, pytester: Pytester)
testing/test_collection.py:67
Methodtest_getrange
(self)
testing/code/test_source.py:91
Methodtest_getrange_step_not_supported
(self)
testing/code/test_source.py:96
Functiontest_getreportopt
()
testing/test_terminal.py:1246
Methodtest_getsource
(self)
testing/code/test_code.py:161
Methodtest_getsourcelines_error_issue553
( self, pytester: Pytester, monkeypatch )
testing/acceptance_test.py:441
Functiontest_getstartingblock_multiline
()
testing/code/test_source.py:643
Functiontest_getstartingblock_singleline
()
testing/code/test_source.py:220
Methodtest_getstatement
(self)
testing/code/test_source.py:123
Functiontest_getstatement_empty_fullsource
()
testing/code/test_code.py:67
Methodtest_getstatementrange_ast_issue58
(self)
testing/code/test_source.py:196
Methodtest_getstatementrange_bug
(self)
testing/code/test_source.py:165
Methodtest_getstatementrange_bug2
(self)
testing/code/test_source.py:179
Methodtest_getstatementrange_out_of_bounds_py3
(self)
testing/code/test_source.py:210
Methodtest_getstatementrange_triple_quoted
(self)
testing/code/test_source.py:132
Methodtest_getstatementrange_with_syntaxerror_issue7
(self)
testing/code/test_source.py:215
Methodtest_getstatementrange_within_constructs
(self)
testing/code/test_source.py:143
Functiontest_gitignore
Ensure we automatically create .gitignore file in the pytest_cache directory (#3286).
testing/test_cacheprovider.py:1196
Functiontest_global_capture_with_live_logging
(pytester: Pytester)
testing/test_capture.py:1502
Methodtest_global_file
(self, pytester: Pytester)
testing/test_collection.py:642
Methodtest_global_func
(self)
doc/en/example/assertion/failure_demo.py:237
Functiontest_global_properties
(pytester: Pytester, xunit_family: str)
testing/test_junitxml.py:1466
Methodtest_group_add_and_get
(self, parser: parseopt.Parser)
testing/test_parseopt.py:72
Methodtest_group_addoption
(self)
testing/test_parseopt.py:92
Methodtest_group_addoption_conflict
(self)
testing/test_parseopt.py:98
Methodtest_group_ordering
(self, parser: parseopt.Parser)
testing/test_parseopt.py:84
Methodtest_group_shortopt_lowercase
(self, parser: parseopt.Parser)
testing/test_parseopt.py:105
Functiontest_group_warnings_by_message
(pytester: Pytester)
testing/test_warnings.py:584
Functiontest_group_warnings_by_message_summary
(pytester: Pytester)
testing/test_warnings.py:615
Methodtest_has_ancestor
(self, tmp_path: Path)
testing/test_findpaths.py:103
Methodtest_has_plugin
Test hasplugin function of the plugin manager (#932).
testing/acceptance_test.py:844
Methodtest_header
(self, pytester: Pytester)
testing/test_terminal.py:842
Methodtest_header_absolute_testpath
Regresstion test for #7814.
testing/test_terminal.py:871
Methodtest_header_trailer_info
( self, monkeypatch: MonkeyPatch, pytester: Pytester, request )
testing/test_terminal.py:789
Functiontest_hello
()
doc/en/example/xfail_demo.py:7
Functiontest_hello
()
testing/example_scripts/issue88_initial_file_multinodes/test_hello.py:1
Functiontest_hello2
()
doc/en/example/xfail_demo.py:12
Functiontest_hello3
()
doc/en/example/xfail_demo.py:17
Functiontest_hello4
()
doc/en/example/xfail_demo.py:22
Functiontest_hello5
()
doc/en/example/xfail_demo.py:27
Functiontest_hello6
()
doc/en/example/xfail_demo.py:31
Functiontest_hello7
()
doc/en/example/xfail_demo.py:36
Functiontest_help
(pytester: Pytester)
testing/test_helpconfig.py:28
Functiontest_help_and_version_after_argument_error
(pytester: Pytester)
testing/test_config.py:1724
Functiontest_help_formatter_uses_py_get_terminal_width
(monkeypatch: MonkeyPatch)
testing/test_config.py:1768
Functiontest_help_via_addopts
(pytester: Pytester)
testing/test_config.py:1705
Functiontest_helper_failures
()
testing/test_compat.py:166
Methodtest_hidden_by_cmdline
(self, pytester: Pytester)
testing/test_warnings.py:503
Methodtest_hidden_by_ini
(self, pytester: Pytester)
testing/test_warnings.py:473
Methodtest_hidden_by_mark
Should hide the deprecation warning from the function, but the warning during collection should be displayed normally.
testing/test_warnings.py:486
Methodtest_hidden_by_system
(self, pytester: Pytester, monkeypatch)
testing/test_warnings.py:513
Functiontest_hide_pytest_internal_warnings
Make sure we can ignore internal pytest warnings using a warnings filter.
testing/test_warnings.py:344
← previousnext →2,901–3,000 of 4,602, ranked by callers