aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_sql_migrations.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2013-05-15 11:40:28 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2013-05-15 11:40:28 -0500
commita1099bba79077c1258e586e2e2cbfe0094f10118 (patch)
treebf813a8ab2c5cb6f0110d4ba7f15d48a31313490 /mediagoblin/tests/test_sql_migrations.py
parent38ebd05d1a759c3a057ab041124c313cf5724dc4 (diff)
downloadmediagoblin-a1099bba79077c1258e586e2e2cbfe0094f10118.tar.lz
mediagoblin-a1099bba79077c1258e586e2e2cbfe0094f10118.tar.xz
mediagoblin-a1099bba79077c1258e586e2e2cbfe0094f10118.zip
Testing the template_context_prerender hook
This allows for modifying any context *right before render*, including access to the variables that are passed in. This test takes advantage of that and takes one of the variables, "doubleme", and modifies it (doubles it!) In our case it turns "happy" and "joy" into "happyhappy" and "joyjoy". This commit sponsored by Mark Holmquist. Thank you!
Diffstat (limited to 'mediagoblin/tests/test_sql_migrations.py')
0 files changed, 0 insertions, 0 deletions