Changeset - 66cd27e7f067
[Not reviewed]
0 1 0
Brett Smith - 4 years ago 2020-05-13 14:25:24
brettcsmith@brettcsmith.org
test_rtutil: Capture debug logs for test_read_only_cache.

To help with SUSE installation, RT#10543.
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
tests/test_rtutil.py
Show inline comments
...
 
@@ -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
0 comments (0 inline, 0 general)