mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
test: add analytics flags to browser test
This commit is contained in:
parent
0dbaec553f
commit
edb0120bbf
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ class TestBrowser(unittest.TestCase):
|
|||
@patch("aider.main.launch_gui")
|
||||
def test_browser_flag_imports_streamlit(self, mock_launch_gui):
|
||||
# Run main with --browser and --yes flags
|
||||
main(["--browser", "--yes"])
|
||||
main(["--browser", "--yes", "--no-analytics", "--analytics-log", "/dev/null"])
|
||||
|
||||
# Check that launch_gui was called
|
||||
mock_launch_gui.assert_called_once()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue