This commit is contained in:
Nick Mowen 2022-10-09 12:28:42 -06:00
parent 48c85a57d9
commit 1dc90379de

View File

@ -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."""