| Index: tests/test_parser.py |
| =================================================================== |
| --- a/tests/test_parser.py |
| +++ b/tests/test_parser.py |
| @@ -165,14 +165,12 @@ |
| def test_parse_filterlist(): |
| result = parse_filterlist(['[Adblock Plus 1.1]', |
| - '! Last modified: 26 Jul 2018 02:10 UTC', |
|
Vasily Kuznetsov
2018/09/14 15:09:35
Maybe we keep this and verify that it's parsed as
Sebastian Noack
2018/09/14 15:33:25
Done.
|
| '! Homepage : http://aaa.com/b', |
| '||example.com^', |
| '! Checksum: OaopkIiiAl77sSHk/VAWDA', |
| '! Note: bla bla']) |
| assert next(result) == Header('Adblock Plus 1.1') |
| - assert next(result).type == 'comment' |
| assert next(result) == Metadata('Homepage', 'http://aaa.com/b') |
| assert next(result).type == 'filter' |
| assert next(result) == Metadata('Checksum', 'OaopkIiiAl77sSHk/VAWDA') |