aboutsummaryrefslogtreecommitdiffstats
path: root/test/foo
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-01-04 20:06:10 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-01-04 20:06:10 +0000
commit1328cee1572c2d47d8d315590aa0478d56176dd5 (patch)
treecb9bcff32ce1f7e9077934488218d8dea6699917 /test/foo
parent8c75479f0cfc2e5ee9bd5f16aa59c17a442b0137 (diff)
downloadexternal_python_mako-1328cee1572c2d47d8d315590aa0478d56176dd5.tar.gz
external_python_mako-1328cee1572c2d47d8d315590aa0478d56176dd5.tar.bz2
external_python_mako-1328cee1572c2d47d8d315590aa0478d56176dd5.zip
- implemented "module" attribute for namespace [ticket:7]
Diffstat (limited to 'test/foo')
-rw-r--r--test/foo/__init__.py0
-rw-r--r--test/foo/test_ns.py7
2 files changed, 7 insertions, 0 deletions
diff --git a/test/foo/__init__.py b/test/foo/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/foo/__init__.py
diff --git a/test/foo/test_ns.py b/test/foo/test_ns.py
new file mode 100644
index 0000000..084fe97
--- /dev/null
+++ b/test/foo/test_ns.py
@@ -0,0 +1,7 @@
+def foo1(context):
+ context.write("this is foo1.")
+ return ''
+
+def foo2(context, x):
+ context.write("this is foo2, x is " + x)
+ return '' \ No newline at end of file