Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prerelease #1423

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
colorlog==6.9.0
uv>=0.4
ruff==0.8.1
ocpp==1.0.0
ocpp==2.0.0rc3
websockets==14.1
jsonschema==4.23.0
pre-commit==4.0.1
Expand Down
3 changes: 3 additions & 0 deletions tests/test_charge_point_v201.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import pytest
from pytest_homeassistant_custom_component.common import MockConfigEntry

import ocpp
from ocpp.routing import on
import ocpp.exceptions
from ocpp.v201 import ChargePoint as cpclass, call, call_result
Expand Down Expand Up @@ -1210,6 +1211,8 @@ async def test_cms_responses_v201(hass, socket_enabled):
domain=OCPP_DOMAIN, data=config_data, entry_id="test_cms", title="test_cms"
)
cs: CentralSystem = await create_configuration(hass, config_entry)
# threading in async validation causes tests to fail
ocpp.messages.ASYNC_VALIDATION = False
await run_charge_point_test(
config_entry,
"CP_2",
Expand Down
Loading