From ebede3075d203c8251942f06600b065ecff3eaf6 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 28 Apr 2025 17:35:42 -0500 Subject: [PATCH] fix test --- frigate/test/test_config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frigate/test/test_config.py b/frigate/test/test_config.py index 5a3deefdaa..02f5d5e745 100644 --- a/frigate/test/test_config.py +++ b/frigate/test/test_config.py @@ -1491,7 +1491,9 @@ class TestConfig(unittest.TestCase): "fps": 5, }, "onvif": { - "autotracking": {"movement_weights": "0, 1, 1.23, 2.34, 0.50"} + "autotracking": { + "movement_weights": "0, 1, 1.23, 2.34, 0.50, 1" + } }, } }, @@ -1504,6 +1506,7 @@ class TestConfig(unittest.TestCase): "1.23", "2.34", "0.5", + "1.0", ] def test_fails_invalid_movement_weights(self):