Blazemeter / taurus
Showing 1 of 1 files from the diff.

@@ -62,10 +62,6 @@
Loading
62 62
        self._check_tools(self._tools)
63 63
64 64
    def _add_jar_tool(self, req_tool_class, **kwargs):
65 -
        if "local_path" in kwargs:
66 -
            local_path = kwargs.pop("local_path")
67 -
            if local_path:
68 -
                kwargs["config"] = BetterDict.from_dict({"config": local_path})
69 65
        req_tool = self._get_tool(req_tool_class, **kwargs)
70 66
        self._tools.append(req_tool)
71 67
        self.class_path.append(req_tool.tool_path)
@@ -303,7 +299,11 @@
Loading
303 299
    __test__ = False  # Hello, nosetests discovery mechanism
304 300
305 301
    def install_required_tools(self):
306 -
        self._add_jar_tool(TestNG, local_path=self.settings.get("path"))
302 +
        local_path = self.settings.get("path", None)
303 +
        config = {}
304 +
        if local_path:
305 +
            config = BetterDict.from_dict({"config": local_path})
306 +
        self._add_jar_tool(TestNG, config=config)
307 307
        super(TestNGTester, self).install_required_tools()
308 308
309 309
    def detected_testng_xml(self):
Files Coverage
bzt 90.26%
Project Totals (68 files) 90.26%
9788.2
TRAVIS_PYTHON_VERSION=3.8
TRAVIS_OS_NAME=linux
1
codecov:
2
  notify:
3
    require_ci_to_pass: yes
4

5
coverage:
6
  round: up
7

8
ignore:
9
  - bzt/resources
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading