From 370d40cae1b5c21f1263b5de46db4f919bc17046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quentin=20G=C3=A9r=C3=B4me?= Date: Fri, 23 Aug 2024 10:46:42 +0200 Subject: [PATCH] fix tests --- hexa/analytics/tests/test_analytics.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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(