"""Tests for correlation_id util.""" from unittest.mock import patch from feed_sender.util import correlation_id @patch('feed_sender.util.correlation_id.uuid') def test_get_correlation_id(mock_uuid): """Test get_correlation_id.""" # Make sure only uuid version 1 is used. correlation_id.get_correlation_id() assert mock_uuid.uuid1.called