Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: tests/test_parser.py

Issue 29879650: Issue 6950 - Don't include headers and metadata from includes into output (Closed)
Patch Set: Created Sept. 13, 2018, 3:58 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/test_differ.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
'! 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')
« no previous file with comments | « tests/test_differ.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld