test: add unit tests for main and actuation receivers

Exhaustive test cases for both classes, with 100% coverage. Adds `mock` dependency. Tests for actuation receiver do not yet pass.

ref: N25B-168
This commit is contained in:
Twirre Meulenbelt
2025-10-16 21:43:24 +02:00
parent 55483808ff
commit 56c804b7eb
7 changed files with 178 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ class VideoSender(SocketBase):
logging.info("No QI session available, not starting video loop")
return
video = state.session.service("ALVideoDevice")
video = state.qi_session.service("ALVideoDevice")
camera_index = 0
kQVGA = 2