mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Add tear-down method
This commit is contained in:
parent
7a0e3e983c
commit
3a8e43f806
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user