From 66cd27e7f0676b19503245796fe088238a18aa43 2020-05-13 14:25:24 From: Brett Smith Date: 2020-05-13 14:25:24 Subject: [PATCH] test_rtutil: Capture debug logs for test_read_only_cache. To help with SUSE installation, RT#10543. --- diff --git a/tests/test_rtutil.py b/tests/test_rtutil.py index e51c23c862650450e13fc1452fcae5ac2679d39d..3be8b22bf7f094cb1955062bea8ad2d753b9d2ae 100644 --- a/tests/test_rtutil.py +++ b/tests/test_rtutil.py @@ -16,6 +16,7 @@ import contextlib import itertools +import logging import re import pytest @@ -214,7 +215,8 @@ def test_no_shared_cache(new_client): assert not rt2.exists(1) assert rt1.exists(1) -def test_read_only_cache(new_client, tmp_path): +def test_read_only_cache(new_client, tmp_path, caplog): + caplog.set_level(logging.DEBUG, logger='conservancy_beancount.rtutil') db_path = tmp_path / 'test.db' ticket_id, _, expected = EXPECTED_URLS[0] expected = DEFAULT_RT_URL + expected