Fix SMARTCAM Time module and update tests (#1659)

Update SmartCam time handling to apply timezone-only changes with explicit warnings, while keeping common time and CLI tests focused on devices that support setting clock time and adding SmartCam-specific coverage for the special behavior.
This commit is contained in:
ZeliardM
2026-07-10 20:38:12 -04:00
committed by GitHub
parent 8c66d0a29d
commit b2206841dd
5 changed files with 160 additions and 21 deletions

View File

@@ -481,6 +481,7 @@ async def test_time_sync(dev, mocker, runner):
assert "New time: " in res.output
@parametrize_combine([device_smart, device_iot])
async def test_time_set(dev: Device, mocker, runner):
"""Test time set command."""
time_mod = dev.modules[Module.Time]