Skip to content

Commit 707765f

Browse files
committed
Increase timeout to 60sec for test_cms_responses
1 parent 191aa6d commit 707765f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_charge_point.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
from homeassistant.const import ATTR_ENTITY_ID
1414
from pytest_homeassistant_custom_component.common import MockConfigEntry
1515
import websockets
16+
import pytest
1617

1718
from custom_components.ocpp import async_setup_entry, async_unload_entry
1819
from custom_components.ocpp.button import BUTTONS
@@ -43,7 +44,7 @@
4344

4445
from .const import MOCK_CONFIG_DATA, MOCK_CONFIG_DATA_2
4546

46-
47+
@pytest.mark.timeout(60) # Set timeout to 60 seconds for this test
4748
async def test_cms_responses(hass, socket_enabled):
4849
"""Test central system responses to a charger."""
4950

0 commit comments

Comments
 (0)