aboutsummaryrefslogtreecommitdiff
path: root/template/python/base-test.py
diff options
context:
space:
mode:
authorKatsunori Kanda <potix2@gmail.com>2012-08-04 21:43:52 +0900
committerKatsunori Kanda <potix2@gmail.com>2012-08-04 21:43:52 +0900
commita33c8cb60bffb2fe207cca7f2855899270299fb6 (patch)
treee851fb4c057b0ad732e77d050485ab8ad8c417c5 /template/python/base-test.py
parentb07d0796e7178fc23673a99c9f49a1a6721746f8 (diff)
downloadvim-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.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_}}