Merge pull request #290 from aerowolf01/master
I propose some assertion snippets, 1 included
This commit is contained in:
commit
f621635126
@ -140,6 +140,9 @@ snippet "
|
|||||||
"""
|
"""
|
||||||
${0:doc}
|
${0:doc}
|
||||||
"""
|
"""
|
||||||
|
# assertions
|
||||||
|
snippet a=
|
||||||
|
self.assertEqual(${0}, ${1})
|
||||||
# test function/method
|
# test function/method
|
||||||
snippet test
|
snippet test
|
||||||
def test_${1:description}(${2:`indent('.') ? 'self' : ''`}):
|
def test_${1:description}(${2:`indent('.') ? 'self' : ''`}):
|
||||||
|
Loading…
Reference in New Issue
Block a user