import unittest
import os
import shutil
from performance_testing.command_line import Tool
from performance_testing.errors import ConfigFileError, ConfigKeyError


class CommandLineToolTest(unittest.TestCase):
    def setUp(self):
        self.current_directory = os.path.dirname(os.path.abspath(__file__))
        self.config = os.path.join(self.current_directory, 'assets/test_config.yml')
        self.result_directory = os.path.join(self.current_directory, 'assets/test_result')

    def test_init(self):
        tool = Tool(config=self.config, result_directory=self.result_directory)

@@ -83,16 +83,108 @@
 rt Tool%0A
+from performance_testing.result import Result%0Afrom performance_testing.config import Config%0A
 from per
@@ -673,8 +673,110 @@
 ectory)%0A
+        self.assertIsInstance(tool.config, Config)%0A        self.assertIsInstance(tool.result, Result)%0A

Test for Tool.__init__