test: remediate audit findings for task log viewer, report card and logger tests
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
# [DEF:tests.test_logger:Module]
|
||||
# @TIER: STANDARD
|
||||
# @SEMANTICS: logging, tests, belief_state
|
||||
# @PURPOSE: Unit tests for the custom logger formatters and configuration context manager.
|
||||
# @LAYER: Logging (Tests)
|
||||
# @RELATION: VERIFIES -> src/core/logger.py
|
||||
# @INVARIANT: All required log statements must correctly check the threshold.
|
||||
|
||||
import pytest
|
||||
from src.core.logger import (
|
||||
belief_scope,
|
||||
@@ -210,4 +218,5 @@ def test_enable_belief_state_flag(caplog):
|
||||
enable_belief_state=True
|
||||
)
|
||||
configure_logger(config)
|
||||
# [/DEF:test_enable_belief_state_flag:Function]
|
||||
# [/DEF:test_enable_belief_state_flag:Function]
|
||||
# [/DEF:tests.test_logger:Module]
|
||||
Reference in New Issue
Block a user