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 |