feat(tests): add fuzzing tests for telemetry unpacking, interface configuration parsing, and LXMF message handling
Some checks failed
CI / test-backend (push) Successful in 4s
CI / build-frontend (push) Successful in 56s
Tests / test (push) Successful in 1m35s
CI / lint (push) Failing after 4m56s

This commit is contained in:
2026-01-02 20:06:18 -06:00
parent 6195b2e37f
commit 51d705ffa4
4 changed files with 435 additions and 3 deletions

View File

@@ -35,6 +35,17 @@ def mock_app(temp_dir):
patch("RNS.Reticulum"),
patch("RNS.Transport"),
patch("threading.Thread"),
patch.object(
ReticulumMeshChat, "announce_loop", new=MagicMock(return_value=None)
),
patch.object(
ReticulumMeshChat,
"announce_sync_propagation_nodes",
new=MagicMock(return_value=None),
),
patch.object(
ReticulumMeshChat, "crawler_loop", new=MagicMock(return_value=None)
),
):
mock_id = MagicMock()
# Use a real bytes object for hash so .hex() works naturally