<gh_stars>1-10
import unittest

from modi.util.miscellaneous_util import MockConn
from modi.task.exe_task import ExeTask


class TestExeTask(unittest.TestCase):
    """Tests for 'ExeTask' class"""

    def setUp(self):
        """Set up test fixtures, if any."""
        self.topology_data = dict()
        self.conn = MockConn()
        self.mock_kwargs = {"topology_data": self.topology_data,
                            "modules": [],
                            "conn_task": self.conn,
                            }
        self.exe_task = ExeTask(**self.mock_kwargs)

    def tearDown(self):
        """Tear down test fixtures, if any."""
        del self.exe_task


if __name__ == "__main__":
    unittest.main()

import unittest

from modi.util.miscellaneous_util import MockConn
from modi.task.exe_task import ExeTask


class TestExeTask(unittest.TestCase):
    """Tests for 'ExeTask' class"""

    def setUp(self):
        """Set up test fixtures, if any."""
        self.topology_data = dict()
        self.conn = MockConn()
        self.mock_kwargs = {"topology_data": self.topology_data,
                            "modules": [],
                            "conn_task": self.conn,
                            }
        self.exe_task = ExeTask(**self.mock_kwargs)

    def tearDown(self):
        """Tear down test fixtures, if any."""
        del self.exe_task


if __name__ == "__main__":
    unittest.main()
Tests for 'ExeTask' class Set up test fixtures, if any. Tear down test fixtures, if any.