Add tear-down method

This commit is contained in:
Bo Maryniuk 2018-02-12 13:09:05 +01:00
parent 7a0e3e983c
commit 3a8e43f806

View File

@ -1022,6 +1022,15 @@ class DaemonMixInTestCase(TestCase):
# logger
self.logger = logging.getLogger('salt.utils.parsers')
def tearDown(self):
'''
Tear down test
:return:
'''
del self.logger
del self.mixin
del self.pid
def test_pid_file_deletion(self):
'''
PIDfile deletion without exception.