MCPcopy Create free account

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

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

Methodtest_parametrize_request_name
Show proper error when 'request' is used as a parameter name in parametrize (#6183)
testing/python/metafunc.py:127
Methodtest_parametrize_scope_overrides
( self, pytester: Pytester, scope: str, length: int )
testing/python/metafunc.py:1309
Methodtest_parametrize_separated_lifecycle
(self, pytester: Pytester)
testing/python/fixtures.py:2957
Methodtest_parametrize_separated_order
(self, pytester: Pytester)
testing/python/fixtures.py:2571
Methodtest_parametrize_separated_order_higher_scope_first
( self, pytester: Pytester )
testing/python/fixtures.py:2760
Methodtest_parametrize_setup_function
(self, pytester: Pytester)
testing/python/fixtures.py:3090
Methodtest_parametrize_skip
(self, pytester: Pytester)
testing/python/collect.py:609
Methodtest_parametrize_skipif
(self, pytester: Pytester)
testing/python/collect.py:594
Methodtest_parametrize_skipif_no_skip
(self, pytester: Pytester)
testing/python/collect.py:624
Methodtest_parametrize_some_arguments_auto_scope
Integration test for (#3941)
testing/python/metafunc.py:1532
Methodtest_parametrize_twoargs
(self)
testing/python/metafunc.py:892
Methodtest_parametrize_uses_no_fixture_error_indirect_false
The 'uses no fixture' error tells the user at collection time that the parametrize data they've set up doesn't correspond to the fixtu
testing/python/metafunc.py:736
Methodtest_parametrize_uses_no_fixture_error_indirect_true
#714
testing/python/metafunc.py:758
Methodtest_parametrize_with_None_in_ids
(self, pytester: Pytester)
testing/python/metafunc.py:1216
Methodtest_parametrize_with_empty_string_arguments
(self, pytester: Pytester)
testing/python/collect.py:517
Methodtest_parametrize_with_identical_ids_get_unique_names
( self, pytester: Pytester )
testing/python/metafunc.py:1288
Methodtest_parametrize_with_ids
(self, pytester: Pytester)
testing/python/metafunc.py:1172
Methodtest_parametrize_with_mark
(self, pytester: Pytester)
testing/python/collect.py:496
Functiontest_parametrize_with_module
(pytester: Pytester)
testing/test_mark.py:332
Methodtest_parametrize_with_non_hashable_values
Test parametrization with non-hashable values.
testing/python/collect.py:362
Methodtest_parametrize_with_non_hashable_values_indirect
Test parametrization with non-hashable values with indirect parametrization.
testing/python/collect.py:382
Methodtest_parametrize_with_userobjects
(self)
testing/python/metafunc.py:268
Methodtest_parametrize_with_wrong_number_of_ids
(self)
testing/python/metafunc.py:215
Methodtest_parametrize_without_ids
(self, pytester: Pytester)
testing/python/metafunc.py:1196
Methodtest_parametrize_xfail
(self, pytester: Pytester)
testing/python/collect.py:639
Methodtest_parametrize_xfail_passed
(self, pytester: Pytester)
testing/python/collect.py:669
Functiontest_parametrized_collect_with_wrong_args
Test collect parametrized func with wrong number of args.
testing/test_mark.py:406
Functiontest_parametrized_collected_from_command_line
Parametrized test not collected if test named specified in command line issue#649.
testing/test_mark.py:390
Methodtest_parametrized_empty_ids
Tests parametrized with empty ids cause an internal error (#1849).
testing/python/metafunc.py:1255
Methodtest_parametrized_fixture_teardown_order
(self, pytester: Pytester)
testing/python/fixtures.py:2838
Methodtest_parametrized_ids_invalid_type
Test error with non-strings/non-ints, without generator (#1857).
testing/python/metafunc.py:1269
Methodtest_parametrized_with_bytes_regex
(self, pytester: Pytester)
testing/acceptance_test.py:477
Functiontest_parametrized_with_kwargs
Test collect parametrized func with wrong number of args.
testing/test_mark.py:429
Methodtest_parametrized_with_null_bytes
Test parametrization with values that contain null bytes and unicode characters (#2644, #2957)
testing/acceptance_test.py:490
Methodtest_params_and_ids
(self, pytester: Pytester)
testing/python/fixtures.py:3140
Methodtest_params_and_ids_yieldfixture
(self, pytester: Pytester)
testing/python/fixtures.py:3157
Methodtest_parse
(self, parser: parseopt.Parser)
testing/test_parseopt.py:119
Methodtest_parse2
(self, parser: parseopt.Parser)
testing/test_parseopt.py:125
Methodtest_parse_defaultgetter
(self)
testing/test_parseopt.py:182
Methodtest_parse_known_and_unknown_args
(self, parser: parseopt.Parser)
testing/test_parseopt.py:136
Methodtest_parse_known_args
(self, parser: parseopt.Parser)
testing/test_parseopt.py:129
Methodtest_parse_setoption
(self, parser: parseopt.Parser)
testing/test_parseopt.py:153
Methodtest_parse_special_destination
(self, parser: parseopt.Parser)
testing/test_parseopt.py:163
Methodtest_parse_split_positional_arguments
(self, parser: parseopt.Parser)
testing/test_parseopt.py:168
Functiontest_parse_summary_line_always_plural
Parsing summaries always returns plural nouns (#6505)
testing/test_pytester.py:781
Functiontest_parse_warning_filter
( arg: str, escape: bool, expected: Tuple[str, str, Type[Warning], str, int] )
testing/test_config.py:2038
Functiontest_parse_warning_filter_failure
(arg: str)
testing/test_config.py:2061
Methodtest_parse_will_set_default
(self, parser: parseopt.Parser)
testing/test_parseopt.py:145
Functiontest_parseconfig
(pytester: Pytester)
testing/test_pytester.py:77
Methodtest_parsefactories_conftest
(self, pytester: Pytester)
testing/python/fixtures.py:1568
Methodtest_parsefactories_conftest
(self, pytester: Pytester)
testing/python/fixtures.py:1788
Methodtest_parsefactories_conftest_and_module_and_class
( self, pytester: Pytester )
testing/python/fixtures.py:1582
Methodtest_parsefactories_evil_objects_issue214
(self, pytester: Pytester)
testing/python/fixtures.py:1552
Methodtest_parsefactories_relative_node_ids
#616
testing/test_conftest.py:557
Methodtest_parsefactories_relative_node_ids
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/python/fixtures.py:1609
Methodtest_parser_addoption
(self, parser: parseopt.Parser)
testing/test_parseopt.py:113
Methodtest_parsing_again_fails
(self, pytester: Pytester)
testing/test_config.py:475
Methodtest_partial_setup_failure
(self, pytester: Pytester)
testing/test_capture.py:585
Methodtest_pass_captures_stderr
( self, pytester: Pytester, run_and_parse: RunAndParse, junit_logging: str )
testing/test_junitxml.py:823
Methodtest_pass_captures_stdout
( self, pytester: Pytester, run_and_parse: RunAndParse, junit_logging: str )
testing/test_junitxml.py:800
Functiontest_pass_extra_reporting
(pytester: Pytester)
testing/test_terminal.py:1103
Functiontest_pass_output_reporting
(pytester: Pytester)
testing/test_terminal.py:1117
Functiontest_pass_reporting_on_fail
(pytester: Pytester)
testing/test_terminal.py:1111
Methodtest_pass_skip_fail
(self, pytester: Pytester, option)
testing/test_terminal.py:82
Methodtest_passes
(self, pytester: Pytester)
testing/test_terminal.py:770
Methodtest_passfunction
(self, pytester: Pytester)
testing/test_runner.py:118
Methodtest_pastebin_http_error
(self, pastebin, mocked_urlopen_fail)
testing/test_pastebin.py:157
Methodtest_pastebin_invalid_url
(self, pastebin, mocked_urlopen_invalid)
testing/test_pastebin.py:149
Methodtest_paths_support
Report attributes which are path-like should become strings.
testing/test_reports.py:226
Methodtest_pattern_contains_subdirectories
If one of the python_files patterns contain subdirectories ("tests/**.py") we can't bailout early because we need to match with the full path,
testing/test_assertrewrite.py:1442
Methodtest_pdb_and_capsys
(self, pytester: Pytester)
testing/test_debugging.py:429
Functiontest_pdb_can_be_rewritten
(pytester: Pytester)
testing/acceptance_test.py:1214
Methodtest_pdb_collection_failure_is_shown
(self, pytester: Pytester)
testing/test_debugging.py:782
Methodtest_pdb_continue_with_recursive_debug
Full coverage for do_debug without capturing. This is very similar to test_pdb_interaction_continue_recursive in general, but mocks o
testing/test_debugging.py:659
Methodtest_pdb_custom_cls
( self, pytester: Pytester, custom_pdb_calls: List[str] )
testing/test_debugging.py:845
Methodtest_pdb_custom_cls
(self, pytester: Pytester, custom_debugger_hook)
testing/test_debugging.py:958
Methodtest_pdb_custom_cls_invalid
(self, pytester: Pytester)
testing/test_debugging.py:855
Methodtest_pdb_custom_cls_with_set_trace
( self, pytester: Pytester, monkeypatch: MonkeyPatch, )
testing/test_debugging.py:879
Methodtest_pdb_custom_cls_without_pdb
( self, pytester: Pytester, custom_pdb_calls: List[str] )
testing/test_debugging.py:871
Methodtest_pdb_dont_print_empty_captured_stdout_and_stderr
( self, pytester: Pytester )
testing/test_debugging.py:232
Methodtest_pdb_interaction_capturing_simple
(self, pytester: Pytester)
testing/test_debugging.py:364
Methodtest_pdb_interaction_capturing_twice
(self, pytester: Pytester)
testing/test_debugging.py:532
Methodtest_pdb_interaction_doctest
(self, pytester: Pytester)
testing/test_debugging.py:485
Methodtest_pdb_interaction_exception
(self, pytester: Pytester)
testing/test_debugging.py:288
Methodtest_pdb_interaction_on_collection_issue181
(self, pytester: Pytester)
testing/test_debugging.py:308
Methodtest_pdb_interaction_on_internal_error
(self, pytester: Pytester)
testing/test_debugging.py:322
Methodtest_pdb_not_altered
(self, pytester: Pytester)
testing/test_debugging.py:1031
Methodtest_pdb_on_BdbQuit
(self, pytester, pdblist)
testing/test_debugging.py:135
Methodtest_pdb_on_KeyboardInterrupt
(self, pytester, pdblist)
testing/test_debugging.py:147
Methodtest_pdb_on_fail
(self, pytester: Pytester, pdblist)
testing/test_debugging.py:97
Methodtest_pdb_on_skip
(self, pytester, pdblist)
testing/test_debugging.py:123
Methodtest_pdb_on_xfail
(self, pytester: Pytester, pdblist)
testing/test_debugging.py:110
Methodtest_pdb_prevent_ConftestImportFailure_hiding_exception
( self, pytester: Pytester )
testing/test_debugging.py:348
Methodtest_pdb_print_captured_logs
(self, pytester, showcapture: str)
testing/test_debugging.py:250
Methodtest_pdb_print_captured_logs_nologging
(self, pytester: Pytester)
testing/test_debugging.py:269
Methodtest_pdb_print_captured_stdout_and_stderr
(self, pytester: Pytester)
testing/test_debugging.py:203
Methodtest_pdb_set_trace_interception
(self, pytester: Pytester)
testing/test_debugging.py:411
Methodtest_pdb_set_trace_kwargs
(self, pytester: Pytester)
testing/test_debugging.py:388
Functiontest_pdb_suspends_fixture_capturing
Using "-s" with pytest should suspend/resume fixture capturing.
testing/test_debugging.py:1190
Functiontest_pdb_teardown_called
Ensure tearDown() is always called when --pdb is given in the command-line. We delay the normal tearDown() calls when --pdb is given, so this ens
testing/test_unittest.py:1208
← previousnext →3,601–3,700 of 4,602, ranked by callers