mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-22 05:14:59 +00:00
style: fix indentation in analytics test file
This commit is contained in:
parent
2a8e1f41d0
commit
0e2c0c78f2
1 changed files with 4 additions and 6 deletions
|
@ -65,13 +65,11 @@ def test_analytics_event_logging(temp_analytics_file, temp_data_dir):
|
|||
test_event = "test_event"
|
||||
test_properties = {"test_key": "test_value"}
|
||||
|
||||
with patch.object(analytics.ph, "capture") as mock_ph_capture:
|
||||
analytics.event(test_event, **test_properties)
|
||||
|
||||
# fix indent AI!
|
||||
with patch.object(analytics.ph, "capture") as mock_ph_capture:
|
||||
analytics.event(test_event, **test_properties)
|
||||
|
||||
mock_mp_track.assert_called_once()
|
||||
mock_ph_capture.assert_called_once()
|
||||
mock_mp_track.assert_called_once()
|
||||
mock_ph_capture.assert_called_once()
|
||||
|
||||
# Verify logfile
|
||||
with open(temp_analytics_file) as f:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue