diff --git a/hexa/analytics/tests/test_analytics.py b/hexa/analytics/tests/test_analytics.py index dcdb38161..19cf4d987 100644 --- a/hexa/analytics/tests/test_analytics.py +++ b/hexa/analytics/tests/test_analytics.py @@ -137,9 +137,7 @@ def test_track_pipelinerun_no_user( } track(None, event, properties) - mock_mixpanel.track.assert_called_once_with( - distinct_id=None, event_name=event, properties=properties - ) + mock_mixpanel.track.assert_not_called() @mock.patch("hexa.analytics.api.mixpanel") def test_create_user_profile(