- 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
16 lines
408 B
Python
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")
|