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