From dd7e9f1bc58d51bac52cdb4d84748fa035add75b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 16 Jul 2026 22:58:26 +0200 Subject: [PATCH] Fix invalid escape sequences in RTSP password test (#23740) --- frigate/test/test_camera_pw.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frigate/test/test_camera_pw.py b/frigate/test/test_camera_pw.py index 0964f38bea..af4cecbd22 100644 --- a/frigate/test/test_camera_pw.py +++ b/frigate/test/test_camera_pw.py @@ -8,9 +8,7 @@ from frigate.util.builtin import clean_camera_user_pass, escape_special_characte class TestUserPassCleanup(unittest.TestCase): def setUp(self) -> None: self.rtsp_with_pass = "rtsp://user:password@192.168.0.2:554/live" - self.rtsp_with_special_pass = ( - "rtsp://user:password`~!@#$%^&*()-_;',.<>:\"\{\}\[\]@@192.168.0.2:554/live" - ) + self.rtsp_with_special_pass = "rtsp://user:password`~!@#$%^&*()-_;',.<>:\"\\{\\}\\[\\]@@192.168.0.2:554/live" self.rtsp_no_pass = "rtsp://192.168.0.3:554/live" def test_cleanup(self):