Add new yasnippet for Python unittesting
This commit is contained in:
9
snippets/python-mode/new_unittest
Normal file
9
snippets/python-mode/new_unittest
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: New unittest
|
||||||
|
# key: testdef
|
||||||
|
# --
|
||||||
|
def test_${1:name}(self):
|
||||||
|
"""${2:docstring}
|
||||||
|
"""
|
||||||
|
|
||||||
|
$0self.assertTrue(False)
|
Reference in New Issue
Block a user