diff options
author | Katsunori Kanda <potix2@gmail.com> | 2012-08-04 21:43:52 +0900 |
---|---|---|
committer | Katsunori Kanda <potix2@gmail.com> | 2012-08-04 21:43:52 +0900 |
commit | a33c8cb60bffb2fe207cca7f2855899270299fb6 (patch) | |
tree | e851fb4c057b0ad732e77d050485ab8ad8c417c5 /template/python/base-test.py | |
parent | b07d0796e7178fc23673a99c9f49a1a6721746f8 (diff) | |
download | vim-sonictemplate-a33c8cb60bffb2fe207cca7f2855899270299fb6.tar.gz vim-sonictemplate-a33c8cb60bffb2fe207cca7f2855899270299fb6.tar.bz2 vim-sonictemplate-a33c8cb60bffb2fe207cca7f2855899270299fb6.zip |
add test template for python
Diffstat (limited to 'template/python/base-test.py')
-rw-r--r-- | template/python/base-test.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/template/python/base-test.py b/template/python/base-test.py new file mode 100644 index 0000000..9f00533 --- /dev/null +++ b/template/python/base-test.py @@ -0,0 +1,15 @@ +""" +{{_name_}} +""" + +import unittest + +class {{_expr_:substitute('{{_input_:name}}', '\w\+', '\u\0', '')}}(unittest.TestCase): + def setUp(self): + pass + + def tearDown(self): + pass + + def test_something(self): + {{_cursor_}} |