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

Unified Diff: tests/test_parser.py

Issue 29933555: Noissue - fix coding style and adjust linting config (Closed) Base URL: https://hg.adblockplus.org/python-abp
Patch Set: Created Nov. 1, 2018, 11:21 a.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
@@ -62,18 +62,18 @@
'selector': {'type': ST.URL_PATTERN, 'value': 'http://bla'},
'action': FA.ALLOW,
'options': [
(OPT.SCRIPT, False),
(OPT.OTHER, False),
(OPT.SITEKEY, ['foo', 'bar']),
],
},
- "||foo.com^$csp=script-src 'self' * 'unsafe-inline',script,sitekey=foo," +
- 'other,match-case,domain=foo.com': {
+ "||foo.com^$csp=script-src 'self' * 'unsafe-inline',script,sitekey=foo,"
+ + 'other,match-case,domain=foo.com': {
'selector': {'type': ST.URL_PATTERN, 'value': '||foo.com^'},
'action': FA.BLOCK,
'options': [
(OPT.CSP, "script-src 'self' * 'unsafe-inline'"),
('script', True),
('sitekey', ['foo']),
('other', True),
('match-case', True),

Powered by Google App Engine
This is Rietveld