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()