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

Unified Diff: cms/tests/test_site/pages/global.tmpl

Issue 29345468: Issue 4045 - Add Test Suite To CMS (Closed)
Patch Set: Add tox.ini patch and change dyncamic server to yield_fixture Created July 13, 2016, 11:17 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: cms/tests/test_site/pages/global.tmpl
===================================================================
new file mode 100644
--- /dev/null
+++ b/cms/tests/test_site/pages/global.tmpl
@@ -0,0 +1,6 @@
+template = empty
+
+{%- set test = site_globals('test') -%}
Vasily Kuznetsov 2016/07/14 12:14:00 Is it important to assign the output of this funct
Jon Sonesen 2016/07/18 14:48:28 I think I can just do what you put. I will change.
+
+{{ test }}
+

Powered by Google App Engine
This is Rietveld