aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2012-08-04 07:32:09 -0700
committermattn <mattn.jp@gmail.com>2012-08-04 07:32:09 -0700
commita474e552f1b31dadde9d23778aee6f703557ff40 (patch)
treee851fb4c057b0ad732e77d050485ab8ad8c417c5 /template
parentb07d0796e7178fc23673a99c9f49a1a6721746f8 (diff)
parenta33c8cb60bffb2fe207cca7f2855899270299fb6 (diff)
downloadvim-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.py15
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_}}