diff options
author | mattn <mattn.jp@gmail.com> | 2012-08-04 07:32:09 -0700 |
---|---|---|
committer | mattn <mattn.jp@gmail.com> | 2012-08-04 07:32:09 -0700 |
commit | a474e552f1b31dadde9d23778aee6f703557ff40 (patch) | |
tree | e851fb4c057b0ad732e77d050485ab8ad8c417c5 /template | |
parent | b07d0796e7178fc23673a99c9f49a1a6721746f8 (diff) | |
parent | a33c8cb60bffb2fe207cca7f2855899270299fb6 (diff) | |
download | vim-sonictemplate-a474e552f1b31dadde9d23778aee6f703557ff40.tar.gz vim-sonictemplate-a474e552f1b31dadde9d23778aee6f703557ff40.tar.bz2 vim-sonictemplate-a474e552f1b31dadde9d23778aee6f703557ff40.zip |
Merge pull request #11 from potix2/add-test-template-for-python
add test template for python
Diffstat (limited to 'template')
-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_}} |