test: added tests for 100% coverage

ref: N25B-393
This commit is contained in:
Storm
2026-01-30 15:34:20 +01:00
parent 35ffd33968
commit 7b426508da
3 changed files with 340 additions and 4 deletions

View File

@@ -3,7 +3,6 @@ import json
import time
from collections import Counter, defaultdict
import cv2
import numpy as np
import zmq
import zmq.asyncio as azmq
@@ -199,10 +198,10 @@ class VisualEmotionRecognitionAgent(BaseAgent):
else:
self.logger.debug(f"Ignoring message from unknown sender: {sender}")
async def stop(self):
"""
Clean up resources used by the agent.
"""
self.video_in_socket.close()
await super().stop()
await super().stop()

View File

@@ -11,7 +11,6 @@ from control_backend.schemas.belief_message import Belief, BeliefMessage
from control_backend.schemas.program import ConditionalNorm, Program
from control_backend.schemas.ri_message import (
GestureCommand,
PauseCommand,
RIEndpoint,
SpeechCommand,
)