Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CJNE committed Sep 22, 2022
1 parent 7dcccb5 commit a571e47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
from custom_components.sunspec.const import CONF_SLAVE_ID

MOCK_SETTINGS_PREFIX = {
CONF_ENABLED_MODELS: ["160"],
CONF_ENABLED_MODELS: [160],
CONF_PREFIX: "test",
CONF_SCAN_INTERVAL: 10,
}
MOCK_SETTINGS = {CONF_ENABLED_MODELS: ["103", "160"], CONF_SCAN_INTERVAL: 10}
MOCK_SETTINGS_MM = {CONF_ENABLED_MODELS: ["701"], CONF_SCAN_INTERVAL: 10}
MOCK_SETTINGS = {CONF_ENABLED_MODELS: [103, 160], CONF_SCAN_INTERVAL: 10}
MOCK_SETTINGS_MM = {CONF_ENABLED_MODELS: [701], CONF_SCAN_INTERVAL: 10}
MOCK_CONFIG_STEP_1 = {CONF_HOST: "test_host", CONF_PORT: 123, CONF_SLAVE_ID: 1}
MOCK_CONFIG = {
CONF_HOST: "test_host",
Expand Down

0 comments on commit a571e47

Please sign in to comment.