Skip to content

Commit

Permalink
Update tests/unit/test_log_streamer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
enyst authored Jan 15, 2025
1 parent 1894d0b commit aaa97cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_log_streamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ 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 is not initialized."""
"""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
streamer.__del__() # Should not raise any exceptions

0 comments on commit aaa97cd

Please sign in to comment.