summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/template/templates/import_with_context.j2
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/template/templates/import_with_context.j2')
-rw-r--r--test/integration/targets/template/templates/import_with_context.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/targets/template/templates/import_with_context.j2 b/test/integration/targets/template/templates/import_with_context.j2
new file mode 100644
index 0000000..104e68b
--- /dev/null
+++ b/test/integration/targets/template/templates/import_with_context.j2
@@ -0,0 +1,4 @@
+{% import 'qux' as qux with context %}
+hello world with context
+{{ qux.wibble }}
+{% include 'bar' %}