Merge pull request #42 from rlayte/master

testing snippets for python
This commit is contained in:
Honza Pokorny 2011-10-31 10:54:53 -07:00
commit 1d7a4692c5

View File

@ -145,3 +145,13 @@ snippet "
""" """
${1:doc} ${1:doc}
""" """
# test function/method
snippet test
def test_${1:description}(${2:`indent('.') ? 'self' : ''`}):
${3:pass}
# test case
snippet testcase
class ${1:ExampleCase}(unittest.TestCase):
def test_${2:description}(self):
${3:pass}