MCPcopy Create free account

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

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

Functiontest_line_with_reprcrash
(monkeypatch: MonkeyPatch)
testing/test_terminal.py:2255
Methodtest_line_write_markup
(self, tw)
testing/io/test_terminalwriter.py:137
Functiontest_linematcher_consecutive
()
testing/test_pytester.py:538
Functiontest_linematcher_match_failure
()
testing/test_pytester.py:510
Functiontest_linematcher_no_matching
(function: str)
testing/test_pytester.py:559
Functiontest_linematcher_no_matching_after_match
()
testing/test_pytester.py:607
Functiontest_linematcher_string_api
()
testing/test_pytester.py:615
Functiontest_linematcher_with_nonlist
Test LineMatcher with regard to passing in a set (accidentally).
testing/test_pytester.py:486
Functiontest_link_resolve
See: https://github.com/pytest-dev/pytest/issues/5965.
testing/test_link_resolve.py:51
Methodtest_list
(self)
testing/test_assertion.py:393
Methodtest_list
(self)
testing/python/approx.py:549
Methodtest_list_bad_repr
(self)
testing/test_assertion.py:728
Methodtest_list_decimal
(self)
testing/python/approx.py:559
Methodtest_list_different_lengths
(self)
testing/test_assertion.py:471
Methodtest_list_dont_wrap_strings
(self)
testing/test_assertion.py:528
Methodtest_list_tuples
(self)
testing/test_assertion.py:694
Methodtest_list_wrap_for_multiple_lines
(self)
testing/test_assertion.py:479
Methodtest_list_wrap_for_width_rewrap_same_length
(self)
testing/test_assertion.py:509
Methodtest_list_wrong_len
(self)
testing/python/approx.py:565
Functiontest_live_logging_suspends_capture
Test that capture manager is suspended when we emitting messages for live logging. This tests the implementation calls instead of behavior becaus
testing/logging/test_reporting.py:822
Functiontest_live_logs_unknown_sections
Check that with live logging enable we are printing the correct headers during start/setup/call/teardown/finish.
testing/logging/test_reporting.py:355
Functiontest_load_initial_conftest_last_ordering
(_config_for_test)
testing/test_config.py:1257
Methodtest_load_resource_via_files_with_rewrite
(self, pytester: Pytester)
testing/test_assertrewrite.py:802
Methodtest_location_is_set
(self)
testing/test_assertrewrite.py:114
Methodtest_lock_register_cleanup_removal
(self, tmp_path: Path)
testing/test_tmpdir.py:256
Functiontest_log_access
(caplog)
testing/logging/test_fixture.py:100
Functiontest_log_cli_auto_enable
Check that live logs are enabled if --log-level or --log-cli-level is passed on the CLI. It should not be auto enabled if the same configs are set
testing/logging/test_reporting.py:589
Functiontest_log_cli_default_level
(pytester: Pytester)
testing/logging/test_reporting.py:208
Functiontest_log_cli_default_level_multiple_tests
Ensure we reset the first newline added by the live logger between tests
testing/logging/test_reporting.py:242
Functiontest_log_cli_default_level_sections
Check that with live logging enable we are printing the correct headers during start/setup/call/teardown/finish.
testing/logging/test_reporting.py:279
Functiontest_log_cli_enabled_disabled
(pytester: Pytester, enabled: bool)
testing/logging/test_reporting.py:176
Functiontest_log_cli_ini_level
(pytester: Pytester)
testing/logging/test_reporting.py:549
Functiontest_log_cli_level
(pytester: Pytester)
testing/logging/test_reporting.py:499
Functiontest_log_cli_level_log_level_interaction
(pytester: Pytester)
testing/logging/test_reporting.py:91
Functiontest_log_file_cli
(pytester: Pytester)
testing/logging/test_reporting.py:632
Functiontest_log_file_cli_level
(pytester: Pytester)
testing/logging/test_reporting.py:665
Functiontest_log_file_cli_subdirectories_are_successfully_created
( pytester: Pytester, )
testing/logging/test_reporting.py:1160
Functiontest_log_file_ini
(pytester: Pytester)
testing/logging/test_reporting.py:708
Functiontest_log_file_ini_level
(pytester: Pytester)
testing/logging/test_reporting.py:747
Functiontest_log_file_unicode
(pytester: Pytester)
testing/logging/test_reporting.py:786
Functiontest_log_in_hooks
(pytester: Pytester)
testing/logging/test_reporting.py:959
Functiontest_log_in_runtest_logreport
(pytester: Pytester)
testing/logging/test_reporting.py:995
Functiontest_log_level_not_changed_by_default
(pytester: Pytester)
testing/logging/test_reporting.py:696
Functiontest_log_report_captures_according_to_config_option_upon_failure
Test that upon failure: (1) `caplog` succeeded to capture the DEBUG message and assert on it => No `Exception` is raised. (2) The `DEBUG` mess
testing/logging/test_fixture.py:271
Functiontest_log_set_path
(pytester: Pytester)
testing/logging/test_reporting.py:1029
Methodtest_logging_after_cap_stopped
(self, pytester: Pytester)
testing/test_capture.py:396
Methodtest_logging_and_crossscope_fixtures
(self, pytester: Pytester)
testing/test_capture.py:334
Methodtest_logging_and_immediate_setupteardown
(self, pytester: Pytester)
testing/test_capture.py:308
Functiontest_logging_emit_error
An exception raised during emit() should fail the test. The default behavior of logging is to print "Logging error" to stderr with the call s
testing/logging/test_reporting.py:1118
Functiontest_logging_emit_error_supressed
If logging is configured to silently ignore errors, pytest doesn't propagate errors either.
testing/logging/test_reporting.py:1144
Functiontest_logging_passing_tests_disabled_does_not_log_test_output
( pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:1629
Functiontest_logging_passing_tests_disabled_logs_output_for_failing_test_issue5430
( pytester: Pytester, junit_logging: str, run_and_parse: RunAndParse, xunit_family: str, )
testing/test_junitxml.py:1663
Methodtest_logging_stream_ownership
(self, pytester: Pytester)
testing/test_capture.py:294
Functiontest_logging_while_collecting
Issue #6240: Calls to logging.xxx() during collection causes all logging calls to be duplicated to stderr
testing/test_capture.py:1640
Methodtest_logstart_logfinish_hooks
(self, pytester: Pytester)
testing/test_runner.py:260
Functiontest_logxml_changingdir
(pytester: Pytester)
testing/test_junitxml.py:1094
Functiontest_logxml_check_isdir
Give an error if --junit-xml is a directory (#2089)
testing/test_junitxml.py:1121
Functiontest_logxml_makedir
--junitxml should automatically create directories for the xml file
testing/test_junitxml.py:1108
Functiontest_logxml_path_expansion
(tmp_path: Path, monkeypatch: MonkeyPatch)
testing/test_junitxml.py:1083
Methodtest_long_case
(self, pytester: Pytester)
testing/test_assertrewrite.py:1277
Functiontest_long_path_during_cleanup
Ensure that deleting long path works (particularly on Windows (#6775)).
testing/test_pathlib.py:354
Methodtest_longrepr_type
(self, pytester: Pytester)
testing/test_runner.py:1037
Methodtest_longreprtext_collect_skip
CollectReport.longreprtext can handle non-str ``longrepr`` attributes (#7559)
testing/test_runner.py:971
Methodtest_longreprtext_failure
(self, pytester: Pytester)
testing/test_runner.py:985
Methodtest_longreprtext_pass
(self, pytester: Pytester)
testing/test_runner.py:948
Methodtest_longreprtext_skip
TestReport.longreprtext can handle non-str ``longrepr`` attributes (#7559)
testing/test_runner.py:958
Functiontest_lower
()
testing/freeze/tests/test_trivial.py:5
Methodtest_main_py_does_not_cause_import_errors
(self, pytester: Pytester)
testing/test_doctest.py:815
Functiontest_make_hook_recorder
(pytester: Pytester)
testing/test_pytester.py:22
Functiontest_makefile_joins_absolute_path
(pytester: Pytester)
testing/test_pytester.py:810
Functiontest_makepyfile_unicode
(pytester: Pytester)
testing/test_pytester.py:205
Functiontest_makepyfile_utf8
Ensure makepyfile accepts utf-8 bytes as input (#2738)
testing/test_pytester.py:209
Functiontest_makereport_getsource
(pytester: Pytester)
testing/test_runner.py:834
Functiontest_makereport_getsource_dynamic_code
Test that exception in dynamically generated code doesn't break getting the source line.
testing/test_runner.py:847
Functiontest_mangle_test_address
()
testing/test_junitxml.py:936
Methodtest_many
(self, capfd)
testing/test_capture.py:1233
Methodtest_many_brackets
(self, pytester: Pytester)
testing/test_assertrewrite.py:1287
Functiontest_mark
()
testing/example_scripts/marks/marks_considered_keywords/test_marks_as_keywords.py:5
Methodtest_mark_closest
(self, pytester: Pytester)
testing/test_mark.py:564
Methodtest_mark_decorator_baseclasses_merged
(self, pytester: Pytester)
testing/test_mark.py:541
Methodtest_mark_decorator_subclass_does_not_propagate_to_base
( self, pytester: Pytester )
testing/test_mark.py:492
Methodtest_mark_dynamically_in_funcarg
(self, pytester: Pytester)
testing/test_mark.py:604
Functiontest_mark_expressions_no_smear
(pytester: Pytester)
testing/test_mark.py:1017
Methodtest_mark_from_parameters
#1540
testing/test_mark.py:707
Functiontest_mark_on_pseudo_function
(pytester: Pytester)
testing/test_mark.py:171
Functiontest_mark_option
( expr: str, expected_passed: List[Optional[str]], pytester: Pytester )
testing/test_mark.py:215
Functiontest_mark_option_custom
( expr: str, expected_passed: List[str], pytester: Pytester )
testing/test_mark.py:239
Functiontest_mark_regex_escape
@pytest.mark.filterwarnings should not try to escape regex characters (#3936)
testing/test_warnings.py:327
Methodtest_mark_should_not_pass_to_siebling_class
#568
testing/test_mark.py:513
Methodtest_mark_skip_contains_name_reason
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:385
Methodtest_mark_skip_doesnt_capture_output
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:432
Methodtest_mark_skipif_contains_name_reason
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:408
Methodtest_mark_with_param
(self)
testing/test_mark.py:27
Methodtest_mark_with_wrong_marker
(self, pytester: Pytester)
testing/test_mark.py:590
Functiontest_mark_xfail_item
(pytester: Pytester)
testing/test_skipping.py:1376
Functiontest_marked_class_run_twice
Test fails file is run twice that contains marked class. See issue#683.
testing/test_mark.py:47
Methodtest_marked_one_arg
(self, pytester: Pytester)
testing/test_skipping.py:45
Methodtest_marked_one_arg_twice
(self, pytester: Pytester)
testing/test_skipping.py:71
Methodtest_marked_one_arg_twice2
(self, pytester: Pytester)
testing/test_skipping.py:91
Methodtest_marked_one_arg_with_reason
(self, pytester: Pytester)
testing/test_skipping.py:58
← previousnext →3,201–3,300 of 4,602, ranked by callers