aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2012-10-11 14:47:55 +0900
committermattn <mattn.jp@gmail.com>2012-10-11 14:47:55 +0900
commit19e49aacabd058fbb2d7f14cfae283a7ae150096 (patch)
tree97779d3ec30b083933b456b35f7d4547f5f1e594 /template
parent6519d7219efa079c9e8425201dc2a9075f67c82f (diff)
parenta474e552f1b31dadde9d23778aee6f703557ff40 (diff)
downloadvim-sonictemplate-19e49aacabd058fbb2d7f14cfae283a7ae150096.tar.gz
vim-sonictemplate-19e49aacabd058fbb2d7f14cfae283a7ae150096.tar.bz2
vim-sonictemplate-19e49aacabd058fbb2d7f14cfae283a7ae150096.zip
Merge branch 'master' of github.com:mattn/sonictemplate-vim
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_}}