Add new yasnippet for Python unittesting
This commit is contained in:
parent
4700c2e2a4
commit
39d27f11d0
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)
|
Loading…
Reference in New Issue
Block a user