From 87e62e943cdb4f468f27c7d92896cbb2fdb3fa54 Mon Sep 17 00:00:00 2001 From: Engel Nyst Date: Wed, 15 Jan 2025 10:04:37 +0100 Subject: [PATCH] Update tests/unit/test_log_streamer.py --- tests/unit/test_log_streamer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_log_streamer.py b/tests/unit/test_log_streamer.py index d0680343a8a1..60402d1bf50f 100644 --- a/tests/unit/test_log_streamer.py +++ b/tests/unit/test_log_streamer.py @@ -67,5 +67,5 @@ def test_normal_operation(mock_container, mock_log_fn): def test_del_without_thread(mock_container, mock_log_fn): """Test that __del__ works even if stdout_thread was not initialized.""" streamer = LogStreamer(mock_container, mock_log_fn) - delattr(streamer, 'stdout_thread') # Simulate case where thread was never created + delattr(streamer, 'stdout_thread') # Simulate case where the thread was never created streamer.__del__() # Should not raise any exceptions