Index: tests/test_parser.py |
=================================================================== |
--- a/tests/test_parser.py |
+++ b/tests/test_parser.py |
@@ -155,17 +155,17 @@ |
def test_parse_bad_instruction(): |
with pytest.raises(ParseError): |
parse_line('%foo bar%') |
def test_parse_bad_header(): |
with pytest.raises(ParseError): |
- parse_line('[Adblock 1.1]') |
+ parse_line('[Adblock 1.1]', mode='start') |
def test_parse_filterlist(): |
result = parse_filterlist(['[Adblock Plus 1.1]', |
'! Homepage : http://aaa.com/b', |
'||example.com^', |
'! Checksum: OaopkIiiAl77sSHk/VAWDA', |
'! Note: bla bla']) |