Skip to content

Commit

Permalink
Merge pull request honza#290 from aerowolf01/master
Browse files Browse the repository at this point in the history
I propose some assertion snippets, 1 included
  • Loading branch information
honza committed Oct 23, 2013
2 parents f4f1b19 + 6fd0406 commit f621635
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snippets/python.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ snippet "
"""
${0:doc}
"""
# assertions
snippet a=
self.assertEqual(${0}, ${1})
# test function/method
snippet test
def test_${1:description}(${2:`indent('.') ? 'self' : ''`}):
Expand Down

0 comments on commit f621635

Please sign in to comment.