From 57bef52438db5feffd876949ff835e053312a16a Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 10 Feb 2019 17:29:08 -0500 Subject: [PATCH] Capture the right logger --- tests/test_watchlists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_watchlists.py b/tests/test_watchlists.py index f35ee9d4..8d90536b 100644 --- a/tests/test_watchlists.py +++ b/tests/test_watchlists.py @@ -37,7 +37,7 @@ def test_watchlist_is_sorted_no_dups_and_saved_to_file(piker_dir): def test_watchlists_config_dir_created(caplog, temp_dir): """Ensure that a config directory is created. """ - with caplog.at_level(logging.DEBUG): + with caplog.at_level(logging.DEBUG, logger='piker'): wl.make_config_dir(temp_dir) assert len(caplog.records) == 1 record = caplog.records[0]