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

Unified Diff: tests/conftest.py

Issue 29472555: Issue 4867 - Add global get_pages_metadata to template converters (Closed)
Patch Set: Created June 23, 2017, 9:54 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/conftest.py
===================================================================
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -13,11 +13,12 @@
site_dir = out_dir.join('test_site').strpath
shutil.copytree(os.path.join(ROOTPATH, 'tests', 'test_site'), site_dir)
subprocess.check_call(['hg', 'init', site_dir])
subprocess.check_call(['hg', '-R', site_dir, 'commit', '-A', '-m', 'foo'])
subprocess.check_call(['hg', '-R', site_dir, 'bookmark', 'master'])
subprocess.check_call(['hg', '-R', site_dir, 'bookmark', 'test'])
- subprocess.check_call(['touch', os.path.join(site_dir, 'pages', 'bar.md')])
+ subprocess.check_call(['touch', os.path.join(site_dir, 'templates',
+ 'bar.md')])
Jon Sonesen 2017/06/23 10:09:26 I modified the bookmark to introduce a template ra
subprocess.check_call(['hg', '-R', site_dir, 'commit', '-A', '-m', 'bar'])
yield site_dir

Powered by Google App Engine
This is Rietveld