Files
cariflex/tools/shapeshifter-library-python-main/test/test_client_errors.py
Eric F d398a6ced2 Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
2026-06-08 00:38:27 -04:00

16 lines
408 B
Python

import pytest
from nacl.bindings import crypto_sign_keypair
from .helpers.services import DummyAgrService, DummyDsoService
fake_keypair = crypto_sign_keypair()
def test_send_non_payload_message():
service = DummyAgrService()
dso_service = DummyDsoService()
client = service.dso_client(dso_service.sender_domain)
with pytest.raises(TypeError):
client._send_message("Hello there")