feat(pose_3d): /state espone blocco cross_camera
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
5ab808accd
commit
79f587567e
2 files changed
+11
No files matched your search
@@ -208,3 +208,13 @@ def test_unlock_proxies_to_bridge():
|
||||
r = client.post("/api/pose_3d/unlock")
|
||||
assert r.status_code == 200
|
||||
assert r.json()["ok"] is True
|
||||
|
||||
|
||||
def test_state_includes_cross_camera_block():
|
||||
with patch("presa_mano.api.pose_3d_routes._deps.g1") as g1_factory:
|
||||
g1 = MagicMock()
|
||||
g1.wrist.return_value = _fake_wrist_pair()
|
||||
g1_factory.return_value = g1
|
||||
r = client.get("/api/pose_3d/state")
|
||||
assert r.status_code == 200
|
||||
assert "cross_camera" in r.json() # {} se mai calibrato
|
||||
Reference in new issue
Block a user