Spaces:
Running
Running
Jeremiah Lowin commited on
Commit ·
bcb7fdf
1
Parent(s): 031ff24
Fix tests
Browse files- tests/cli/test_cli.py +3 -2
tests/cli/test_cli.py
CHANGED
|
@@ -209,9 +209,9 @@ class TestDevCommand:
|
|
| 209 |
assert result.exit_code == 0
|
| 210 |
mock_run.assert_called_once()
|
| 211 |
|
| 212 |
-
# Check dependencies were passed correctly
|
| 213 |
mock_build_uv.assert_called_once_with(
|
| 214 |
-
str(temp_python_file), None, ["extra_dep"]
|
| 215 |
)
|
| 216 |
|
| 217 |
def test_dev_command_with_ui_port(self, temp_python_file):
|
|
@@ -468,4 +468,5 @@ class TestRunCommand:
|
|
| 468 |
port=None,
|
| 469 |
log_level=None,
|
| 470 |
server_args=["--config", "config.json"],
|
|
|
|
| 471 |
)
|
|
|
|
| 209 |
assert result.exit_code == 0
|
| 210 |
mock_run.assert_called_once()
|
| 211 |
|
| 212 |
+
# Check dependencies were passed correctly with no_banner=True
|
| 213 |
mock_build_uv.assert_called_once_with(
|
| 214 |
+
str(temp_python_file), None, ["extra_dep"], no_banner=True
|
| 215 |
)
|
| 216 |
|
| 217 |
def test_dev_command_with_ui_port(self, temp_python_file):
|
|
|
|
| 468 |
port=None,
|
| 469 |
log_level=None,
|
| 470 |
server_args=["--config", "config.json"],
|
| 471 |
+
show_banner=True,
|
| 472 |
)
|