Fix typos in README and test files related to SYNC_BEHAVIOR documentation

This commit is contained in:
Jokob @NetAlertX committed 2026-05-26 07:51:09 +00:00
1 parent f8f7ac3827
commit 5ea999fd57
3 files changed
+14 -6

No files matched your search

+7 -2
View File
@@ -572,7 +572,7 @@ class TestMode3JsonSkip:
# ===========================================================================
# SYNC_BEHAVIOR — three hub device-write modes (Mode 3 – RECEIVE)
# SYNC_BEHAVIOR - three hub device-write modes (Mode 3 - RECEIVE)
# ===========================================================================
class TestSyncBehavior:
@@ -775,4 +775,9 @@ class TestSyncBehavior:
assert row["eveIp"] == "10.0.0.1"
assert row["eveAdditionalInfo"] == "Acme"
assert row["evePendingAlertEmail"] == 1
assert cur.fetchone()["cnt"] == 0
# Confirm exactly one event was inserted (no duplicates).
cur.execute(
"SELECT COUNT(*) AS cnt FROM Events WHERE eveEventType='New Device' AND eveMac=?",
("aa:bb:cc:dd:ee:01",),
)
assert cur.fetchone()["cnt"] == 1