Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_fastapi_cli_not_installed (0.37 sec)

  1. 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)
Back to top