chore: remove pipeline stuff
This commit is contained in:
@@ -8,10 +8,6 @@ from control_backend.agents.perception.face_rec_agent import FacePerceptionAgent
|
||||
from control_backend.core.agent_system import InternalMessage
|
||||
from control_backend.schemas.belief_message import BeliefMessage
|
||||
|
||||
# -------------------------
|
||||
# Fixtures
|
||||
# -------------------------
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def agent():
|
||||
@@ -33,11 +29,6 @@ def socket():
|
||||
return sock
|
||||
|
||||
|
||||
# -------------------------
|
||||
# Socket setup tests
|
||||
# -------------------------
|
||||
|
||||
|
||||
def test_connect_socket_connect(agent, socket, monkeypatch):
|
||||
"""Test that _connect_socket properly connects when zmq_bind=False."""
|
||||
ctx = MagicMock()
|
||||
@@ -69,11 +60,6 @@ def test_connect_socket_twice_is_noop(agent, socket):
|
||||
assert agent._socket is socket
|
||||
|
||||
|
||||
# -------------------------
|
||||
# Belief update tests
|
||||
# -------------------------
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_update_face_belief_present(agent):
|
||||
"""Test that _update_face_belief(True) creates the 'face_present' belief."""
|
||||
@@ -112,11 +98,6 @@ async def test_post_face_belief_absent(agent):
|
||||
assert '"delete"' in msg.body and '"face_present"' in msg.body
|
||||
|
||||
|
||||
# -------------------------
|
||||
# Message handling tests
|
||||
# -------------------------
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_handle_pause(agent):
|
||||
"""Test that a 'PAUSE' message clears _paused and resets _last_face_state."""
|
||||
|
||||
Reference in New Issue
Block a user