Remove _caplog_ from test name
All the tests in this file are tests of `caplog`
This commit is contained in:
parent
77647e4858
commit
8fe62f6eba
|
@ -308,7 +308,7 @@ def private_assert_caplog_records_is_setup_call(caplog: pytest.LogCaptureFixture
|
||||||
assert set(caplog_records) == {"setup", "call"}
|
assert set(caplog_records) == {"setup", "call"}
|
||||||
|
|
||||||
|
|
||||||
def test_caplog_captures_for_all_stages(
|
def test_captures_for_all_stages(
|
||||||
caplog: pytest.LogCaptureFixture, logging_during_setup_and_teardown: None
|
caplog: pytest.LogCaptureFixture, logging_during_setup_and_teardown: None
|
||||||
) -> None:
|
) -> None:
|
||||||
assert not caplog.records
|
assert not caplog.records
|
||||||
|
@ -367,7 +367,7 @@ def test_ini_controls_global_log_level(pytester: Pytester) -> None:
|
||||||
assert result.ret == 0
|
assert result.ret == 0
|
||||||
|
|
||||||
|
|
||||||
def test_caplog_can_override_global_log_level(pytester: Pytester) -> None:
|
def test_can_override_global_log_level(pytester: Pytester) -> None:
|
||||||
pytester.makepyfile(
|
pytester.makepyfile(
|
||||||
"""
|
"""
|
||||||
import pytest
|
import pytest
|
||||||
|
@ -406,7 +406,7 @@ def test_caplog_can_override_global_log_level(pytester: Pytester) -> None:
|
||||||
assert result.ret == 0
|
assert result.ret == 0
|
||||||
|
|
||||||
|
|
||||||
def test_caplog_captures_despite_exception(pytester: Pytester) -> None:
|
def test_captures_despite_exception(pytester: Pytester) -> None:
|
||||||
pytester.makepyfile(
|
pytester.makepyfile(
|
||||||
"""
|
"""
|
||||||
import pytest
|
import pytest
|
||||||
|
|
Loading…
Reference in New Issue