Merge pull request #290 from aerowolf01/master

I propose some assertion snippets, 1 included
This commit is contained in:
Honza Pokorny 2013-10-22 22:13:09 -07:00
commit f621635126

View File

@ -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' : ''`}):