aboutsummaryrefslogtreecommitdiffstats
path: root/test/sample_module_namespace.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-02-05 21:32:07 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2010-02-05 21:32:07 +0000
commitd190169d0b0059b312ba9adad7011ecdff177188 (patch)
tree352d6cf60e4798fb68ee8146323ea2c1ff61e5be /test/sample_module_namespace.py
parent9354a7e5e9ec515e6884464edef73302d7aa93ac (diff)
downloadexternal_python_mako-d190169d0b0059b312ba9adad7011ecdff177188.tar.gz
external_python_mako-d190169d0b0059b312ba9adad7011ecdff177188.tar.bz2
external_python_mako-d190169d0b0059b312ba9adad7011ecdff177188.zip
- Unit tests now run with nose. [ticket:127]
Diffstat (limited to 'test/sample_module_namespace.py')
-rw-r--r--test/sample_module_namespace.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/sample_module_namespace.py b/test/sample_module_namespace.py
new file mode 100644
index 0000000..084fe97
--- /dev/null
+++ b/test/sample_module_namespace.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