Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
marvel
GitHub Repository: marvel/qnf
Path: blob/master/elisp/emacs-for-python/yasnippet/snippets/python-mode/testcase.setup
990 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