Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanSara committed Dec 7, 2024
1 parent 9353477 commit b970e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit_tests/test_webcam_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b970e1e

Please sign in to comment.