diff --git a/setup.cfg b/setup.cfg index da7180ac..c0cfe0bf 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,7 +12,6 @@ max-line-length = 88 [mypy] python_version = 3.6 -namespace_packages = True no_implicit_optional = True [tool:pytest] diff --git a/tests/integ_tests/__init__.py b/tests/integ_tests/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/integ_tests/integ_test.py b/tests/integ_tests/integ_test.py index 3070c6aa..18f6e53b 100644 --- a/tests/integ_tests/integ_test.py +++ b/tests/integ_tests/integ_test.py @@ -52,6 +52,8 @@ async def test_integ_configs( config = read_config_yaml(config_file) controller = get_controller(config["module"], config["class"]) + if controller is None: + raise ValueError(f"`{config['class']}` class controller does not exist") controller.args = config fake_entity_states = get_fake_entity_states(entity_state, entity_state_attributes) diff --git a/tests/unit_tests/cx_core/feature_support/__init__.py b/tests/unit_tests/cx_core/feature_support/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/unit_tests/cx_core/stepper/__init__.py b/tests/unit_tests/cx_core/stepper/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/unit_tests/cx_devices/__init__.py b/tests/unit_tests/cx_devices/__init__.py new file mode 100644 index 00000000..e69de29b