Skip to content

Commit 7a5f8e7

Browse files
tests: ensure caplog captures logs from built_in_planner logger
1 parent 3faec3c commit 7a5f8e7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/unittests/planners/test_built_in_planner.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ def test_apply_thinking_config_overwrites_existing(planner, caplog):
6464
)
6565
)
6666

67-
with caplog.at_level(logging.DEBUG):
67+
with caplog.at_level(
68+
logging.DEBUG, logger='google_adk.google.adk.planners.built_in_planner'
69+
):
6870
planner.apply_thinking_config(llm_request)
6971

7072
assert llm_request.config.thinking_config == planner.thinking_config

0 commit comments

Comments
 (0)