summaryrefslogtreecommitdiff
path: root/snippets/python-mode/testfunc
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/python-mode/testfunc')
-rw-r--r--snippets/python-mode/testfunc6
1 files changed, 6 insertions, 0 deletions
diff --git a/snippets/python-mode/testfunc b/snippets/python-mode/testfunc
new file mode 100644
index 0000000..efa4ca3
--- /dev/null
+++ b/snippets/python-mode/testfunc
@@ -0,0 +1,6 @@
+# -*- coding: utf-8 -*-
+# name: pytest test definition
+# key: deft
+# --
+def test_${1:name}($2):
+ $0 \ No newline at end of file