mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Fix test
This commit is contained in:
parent
48c85a57d9
commit
1dc90379de
@ -14,7 +14,7 @@ class TestUserPassCleanup(unittest.TestCase):
|
|||||||
"""Test that user / pass are cleaned up."""
|
"""Test that user / pass are cleaned up."""
|
||||||
clean = clean_camera_user_pass(self.rtsp_with_pass)
|
clean = clean_camera_user_pass(self.rtsp_with_pass)
|
||||||
assert clean != self.rtsp_with_pass
|
assert clean != self.rtsp_with_pass
|
||||||
assert "user:password" not in self.rtsp_with_pass
|
assert "user:password" not in clean
|
||||||
|
|
||||||
def test_no_cleanup(self):
|
def test_no_cleanup(self):
|
||||||
"""Test that nothing changes when no user / pass are defined."""
|
"""Test that nothing changes when no user / pass are defined."""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user