@@ -13,8 +13,7 @@
Loading
13 13
from traitsui.testing._gui import process_cascade_events
14 14
from traitsui.testing._exception_handling import reraise_exceptions
15 15
from traitsui.testing.tester._ui_tester_registry.default_registry import (
16 -
    get_default_registry,
17 -
    _get_ui_registry
16 +
    get_default_registry
18 17
)
19 18
from traitsui.testing.tester.ui_wrapper import UIWrapper
20 19
@@ -152,7 +151,6 @@
Loading
152 151
            self._registries = registries.copy()
153 152
154 153
        # The find_by_name method in this class depends on this registry
155 -
        self._registries.append(_get_ui_registry())
156 154
        self._registries.append(get_default_registry())
157 155
        self.delay = delay
158 156

@@ -32,24 +32,13 @@
Loading
32 32
    # side-effect to determine current toolkit
33 33
    from pyface.toolkit import toolkit_object  # noqa
34 34
    if ETSConfig.toolkit == "null":
35 -
        return TargetRegistry()
35 +
        registry = TargetRegistry()
36 36
    else:
37 37
        toolkit = {'wx': 'wx', 'qt4': 'qt4', 'qt': 'qt4'}[ETSConfig.toolkit]
38 38
        module = importlib.import_module(
39 39
            ".default_registry",
40 40
            "traitsui.testing.tester._ui_tester_registry." + toolkit)
41 -
        return module.get_default_registry()
42 -
43 -
44 -
def _get_ui_registry():
45 -
    """ Return a TargetRegistry with traitsui.ui.UI as the target.
46 -
47 -
    Parameters
48 -
    ----------
49 -
    registry : TargetRegistry
50 -
    """
51 -
52 -
    registry = TargetRegistry()
41 +
        registry = module.get_default_registry()
53 42
    register_traitsui_ui_solvers(
54 43
        registry=registry,
55 44
        target_class=UI,
Files Coverage
traitsui 34.6%
Project Totals (295 files) 34.6%
2424.3
TRAVIS_OS_NAME=linux
2424.1
TRAVIS_OS_NAME=linux
wrpymrhkwknrl97a
2424.2
TRAVIS_OS_NAME=linux
x6na5806dwj66nop
vwjyi6m1a8pn2ave
ir45rn3d3lrujtt5
tfr7tq5y7fw0vkg4
g5b1poeiub0ahijs
19cwucuj51nesf9l
1
codecov:
2
  notify:
3
    require_ci_to_pass: yes
4

5
coverage:
6
  precision: 1
7
  round: up
8

9
  status:
10
    patch:
11
      default:
12
        only_pulls: yes
13

14
comment : off
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