We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bf5b19 commit 7d47a22Copy full SHA for 7d47a22
tests/test_switch.py
@@ -8,7 +8,7 @@
8
from custom_components.ocpp import async_setup_entry
9
from custom_components.ocpp.const import DOMAIN # SWITCH
10
11
-from .const import MOCK_CONFIG_DATA
+from .const import MOCK_CONFIG_SWITCH
12
13
# from .const import DEFAULT_NAME
14
@@ -17,7 +17,7 @@ async def test_switch_services(hass):
17
"""Test switch services."""
18
# Create a mock entry so we don't have to go through config flow
19
config_entry = MockConfigEntry(
20
- domain=DOMAIN, data=MOCK_CONFIG_DATA, entry_id="test"
+ domain=DOMAIN, data=MOCK_CONFIG_SWITCH, entry_id="test"
21
)
22
assert await async_setup_entry(hass, config_entry)
23
await hass.async_block_till_done()
0 commit comments