Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
qgerome committed Aug 23, 2024
1 parent 0c75e38 commit 370d40c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hexa/analytics/tests/test_analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 370d40c

Please sign in to comment.