summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-07-22 00:43:48 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-07-22 00:43:48 -0400
commit20c203ed42ce8d9868e356974d4777d362dbf0d0 (patch)
treebdd82d2143b894cd8629e12b3e7b2da6971d964e
parenta86bdcafc09b7376c61477d2e5e540fc9c398ed9 (diff)
downloademacs.d-20c203ed42ce8d9868e356974d4777d362dbf0d0.tar.gz
add pytest function snippet
-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