File diff ca1f6d0059ff → 072937eff508
tests/test_reports_accrual.py
Show inline comments
...
 
@@ -273,9 +273,7 @@ def test_consistency_check_when_inconsistent(meta_key, account):
 

	
 
def check_output(output, expect_patterns):
 
    output.seek(0)
 
    for pattern in expect_patterns:
 
        assert any(re.search(pattern, line) for line in output), \
 
            f"{pattern!r} not found in output"
 
    testutil.check_lines_match(iter(output), expect_patterns)
 

	
 
@pytest.mark.parametrize('invoice,expected', [
 
    ('rt:505/5050', "Zero balance outstanding since 2020-05-05"),