From 39d27f11d098b97bf25d8cd1f43fc894a051d464 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sun, 18 Nov 2018 07:18:43 +0100 Subject: [PATCH] Add new yasnippet for Python unittesting --- snippets/python-mode/new_unittest | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 snippets/python-mode/new_unittest diff --git a/snippets/python-mode/new_unittest b/snippets/python-mode/new_unittest new file mode 100644 index 0000000..1ee65e6 --- /dev/null +++ b/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) \ No newline at end of file