Skip to content

Commit

Permalink
tests: add task_cleanup() in tearDown() for clush tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane Thiell committed Mar 28, 2012
1 parent 06ca77d commit 799d82c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/CLIClushTest.py
Expand Up @@ -12,11 +12,16 @@
from TLib import *
import ClusterShell.CLI.Clush
from ClusterShell.CLI.Clush import main
from ClusterShell.Task import task_cleanup


class CLIClushTest(unittest.TestCase):
"""Unit test class for testing CLI/Clush.py"""

def tearDown(self):
"""cleanup all tasks"""
task_cleanup()

def _clush_t(self, args, input, expected_stdout, expected_rc=0,
expected_stderr=None):
"""This new version allows code coverage checking by calling clush's
Expand Down

0 comments on commit 799d82c

Please sign in to comment.