Update the picamera tests for labthings 0.0.12 syntax

This commit is contained in:
Julian Stirling 2025-12-15 18:28:28 +00:00
parent baf0ff9a11
commit 7a26b262a9
3 changed files with 48 additions and 32 deletions

View file

@ -6,8 +6,10 @@ from copy import deepcopy
from .cam_test_utils import camera_test_client
def test_calibration(picamera_thing, picamera_client):
def test_calibration(picamera_client_and_server):
"""Check that full auto calibrate completes and set the expected values."""
picamera_client, server = picamera_client_and_server
picamera_thing = server.things["camera"]
# Check the calibration_required property used by the calibration wizard
assert picamera_thing.calibration_required
# Save copy of default tuning file for end of test