From 09fbaa0765da92e39a61bf16ddb32a0d1e472d32 Mon Sep 17 00:00:00 2001 From: puddly <32534428+puddly@users.noreply.github.com> Date: Mon, 5 Aug 2024 17:44:08 -0400 Subject: [PATCH] Do not convert `config` multiple times in unit tests --- tests/test_application.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/test_application.py b/tests/test_application.py index 2fd66c8..fbff54e 100644 --- a/tests/test_application.py +++ b/tests/test_application.py @@ -10,12 +10,10 @@ import zigpy_zigate.types as t import zigpy_zigate.zigbee.application -APP_CONFIG = zigpy_zigate.zigbee.application.ControllerApplication.SCHEMA( - { - config.CONF_DEVICE: {config.CONF_DEVICE_PATH: "/dev/null"}, - config.CONF_DATABASE: None, - } -) +APP_CONFIG = { + config.CONF_DEVICE: {config.CONF_DEVICE_PATH: "/dev/null"}, + config.CONF_DATABASE: None, +} FAKE_FIRMWARE_VERSION = "3.1z"