Index: tests/test_renderer.py |
=================================================================== |
--- a/tests/test_renderer.py |
+++ b/tests/test_renderer.py |
@@ -65,18 +65,19 @@ |
assert got.startswith(head + '! *** src:inc ***\nIncluded') |
def test_include2(head): |
src1 = MockSource(fl='[Adblock]\n%include inc1%', |
inc1='%include src2:inc2%') |
src2 = MockSource(inc2='%include inc3%', inc3='Included') |
got = render_str('src1:fl', {'src1': src1, 'src2': src2}) |
- expect = (head + |
- '! *** inc1 ***\n! *** src2:inc2 ***\n! *** inc3 ***\nIncluded') |
+ expect = ( |
+ head + '! *** inc1 ***\n! *** src2:inc2 ***\n! *** inc3 ***\nIncluded' |
+ ) |
assert got.startswith(expect) |
def test_circular_includes(): |
src = MockSource(fl='[Adblock]\n%include src:fl%') |
with pytest.raises(IncludeError): |
render_str('src:fl', {'src': src}) |