Browse Source

Add new yasnippet for Python unittesting

master
Gergely Polonkai 3 years ago
parent
commit
39d27f11d0
  1. 9
      snippets/python-mode/new_unittest

9
snippets/python-mode/new_unittest

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# name: New unittest
# key: testdef
# --
def test_${1:name}(self):
"""${2:docstring}
"""
$0self.assertTrue(False)
Loading…
Cancel
Save