- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_fastapi_cli_not_installed (0.49 sec)
-
tests/test_fastapi_cli.py
env={**os.environ, "PYTHONIOENCODING": "utf-8"}, ) assert result.returncode == 1, result.stdout assert "Path does not exist non_existent_file.py" in result.stdout def test_fastapi_cli_not_installed(): with patch.object(fastapi.cli, "cli_main", None): with pytest.raises(RuntimeError) as exc_info: fastapi.cli.main()Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 02 04:02:38 UTC 2025 - 866 bytes - Viewed (0)