Skip to content

Commit 7d47a22

Browse files
authored
Update test_switch.py
1 parent 2bf5b19 commit 7d47a22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_switch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from custom_components.ocpp import async_setup_entry
99
from custom_components.ocpp.const import DOMAIN # SWITCH
1010

11-
from .const import MOCK_CONFIG_DATA
11+
from .const import MOCK_CONFIG_SWITCH
1212

1313
# from .const import DEFAULT_NAME
1414

@@ -17,7 +17,7 @@ async def test_switch_services(hass):
1717
"""Test switch services."""
1818
# Create a mock entry so we don't have to go through config flow
1919
config_entry = MockConfigEntry(
20-
domain=DOMAIN, data=MOCK_CONFIG_DATA, entry_id="test"
20+
domain=DOMAIN, data=MOCK_CONFIG_SWITCH, entry_id="test"
2121
)
2222
assert await async_setup_entry(hass, config_entry)
2323
await hass.async_block_till_done()

0 commit comments

Comments
 (0)