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

Unified Diff: tests/test_additional_paths.py

Issue 29923555: Noissue - Switch to binary operator after line break standard following PEP8 and Flake8 (Closed) Base URL: https://hg.adblockplus.org/cms
Patch Set: Created Oct. 24, 2018, 2:02 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 | « no previous file | tests/test_xtm_translations_utils.py » ('j') | tox.ini » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/test_additional_paths.py
===================================================================
--- a/tests/test_additional_paths.py
+++ b/tests/test_additional_paths.py
@@ -47,18 +47,18 @@
@pytest.fixture(scope='session')
def ap_site(temp_site, tmpdir_factory):
"""A website source that has another website in additional-paths."""
base_root = py.path.local(temp_site)
base_pages = base_root.join('pages')
ap_root = tmpdir_factory.mktemp('ap_site')
ap_root.join('settings.ini').write(
- base_root.join('settings.ini').read() +
- PATHS_FRAGMENT_TEMPLATE.format(base_root),
+ base_root.join('settings.ini').read()
+ + PATHS_FRAGMENT_TEMPLATE.format(base_root),
)
pages = ap_root.mkdir('pages')
for file_name in ['filter.tmpl', 'global.md', 'translate.tmpl']:
pages.join(file_name).write('MAIN_SITE')
pages.join('map.tmpl').write(base_pages.join('sitemap.tmpl').read())
return ap_root
« no previous file with comments | « no previous file | tests/test_xtm_translations_utils.py » ('j') | tox.ini » ('J')

Powered by Google App Engine
This is Rietveld