mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 13:54:59 +00:00
style: Fix linting issues in test_analytics.py
This commit is contained in:
parent
ccbf1482c1
commit
b228bcab8c
1 changed files with 12 additions and 12 deletions
|
@ -65,8 +65,8 @@ def test_analytics_event_logging(temp_analytics_file):
|
||||||
test_event = "test_event"
|
test_event = "test_event"
|
||||||
test_properties = {"test_key": "test_value"}
|
test_properties = {"test_key": "test_value"}
|
||||||
|
|
||||||
with patch.object(analytics.mp, 'track') as mock_mp_track:
|
with patch.object(analytics.mp, "track") as mock_mp_track:
|
||||||
with patch.object(analytics.ph, 'capture') as mock_ph_capture:
|
with patch.object(analytics.ph, "capture") as mock_ph_capture:
|
||||||
analytics.event(test_event, **test_properties)
|
analytics.event(test_event, **test_properties)
|
||||||
|
|
||||||
mock_mp_track.assert_called_once()
|
mock_mp_track.assert_called_once()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue