Path: blob/master/elisp/emacs-for-python/yasnippet/snippets/python-mode/testcase.setup
1411 views
# -*- coding: utf-8 -*-
# name: unittest.TestCase with setUp tearDown
# contributor: Gabriele Lanaro
# --
class $1${2:TestCase}(${3:unittest.TestCase}):
def setUp(self):
${4:pass}
def tearDown(self):
${5:pass}
$0