From 6fd040687988c6a279905b3020199cfad887761d Mon Sep 17 00:00:00 2001 From: Cooper LeBrun Date: Tue, 22 Oct 2013 18:56:21 -0700 Subject: [PATCH] added a section for assertions, and a simple assertEqual snippet --- snippets/python.snippets | 3 +++ 1 file changed, 3 insertions(+) diff --git a/snippets/python.snippets b/snippets/python.snippets index 638a9c4..d38df5b 100644 --- a/snippets/python.snippets +++ b/snippets/python.snippets @@ -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' : ''`}):