diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-02-05 21:32:07 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-02-05 21:32:07 +0000 |
commit | d190169d0b0059b312ba9adad7011ecdff177188 (patch) | |
tree | 352d6cf60e4798fb68ee8146323ea2c1ff61e5be /test/sample_module_namespace.py | |
parent | 9354a7e5e9ec515e6884464edef73302d7aa93ac (diff) | |
download | external_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.py | 7 |
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 |