From b970e1e8135f6d1f9384ea7da18a0611553d4181 Mon Sep 17 00:00:00 2001 From: ZanSara Date: Sat, 7 Dec 2024 11:41:06 +0000 Subject: [PATCH] tests --- tests/unit_tests/test_webcam_system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_tests/test_webcam_system.py b/tests/unit_tests/test_webcam_system.py index d1b256b..806a8b3 100644 --- a/tests/unit_tests/test_webcam_system.py +++ b/tests/unit_tests/test_webcam_system.py @@ -348,7 +348,7 @@ def test_report_general_status(monkeypatch): class Empty(): def __getattr__(self, attr): - return lambda *a, **k: None + return lambda *a, **k: {"ssid": "mock network"} # wifi data needs this key monkeypatch.setattr(webcam, "system", Empty()) status = original_system.report_general_status()