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

Unified Diff: tests/test_parser.py

Issue 29465720: Issue 4970 - Document the library API of python-abp (Closed)
Patch Set: Rebase to match the new master and retouche the docstrings. Created Oct. 24, 2017, 4:06 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
Index: tests/test_parser.py
===================================================================
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -97,17 +97,17 @@
'selector': {
'type': ST.XCSS,
'value': ':-abp-properties(|background-image: url(data:*))'
},
'options': [],
},
}.items())
def test_parse_filters(filter_text, expected):
- """Parametric test for filter parsing"""
+ """Parametric test for filter parsing."""
parsed = parse_line(filter_text)
assert parsed.type == 'filter'
assert parsed.text == filter_text
for attribute, expected_value in expected.items():
assert getattr(parsed, attribute) == expected_value
def test_parse_comment():

Powered by Google App Engine
This is Rietveld