================================= test session starts =================================
platform win32 -- Python 3.11.9, pytest-9.0.1, pluggy-1.6.0 -- C:\Users\rahul\AppData\Local\Programs\Python\Python311\python.exe
cachedir: .pytest_cache
rootdir: C:\Users\rahul\.gemini\antigravity\playground\vector-meteoroid\qwed_new
configfile: pytest.ini (WARNING: ignoring pytest config in pyproject.toml!)
plugins: anyio-4.11.0, locust-2.42.6, asyncio-1.3.0, cov-7.0.0, timeout-2.4.0, xdist-3.8.0
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collecting ... collected 11 items

tests/test_cli_verify.py::test_verify_success_provider PASSED                    [  9%]
tests/test_cli_verify.py::test_verify_success_base_url PASSED                    [ 18%]
tests/test_cli_verify.py::test_verify_failure_result PASSED                      [ 27%]
tests/test_cli_verify.py::test_verify_missing_provider_and_base_url PASSED       [ 36%]
tests/test_cli_verify.py::test_verify_active_provider_ollama PASSED              [ 45%]
tests/test_cli_verify.py::test_verify_active_provider_named PASSED               [ 54%]
tests/test_cli_verify.py::test_verify_active_provider_missing_key FAILED         [ 63%]
tests/test_cli_verify.py::test_verify_quiet_mode PASSED                          [ 72%]
tests/test_cli_verify.py::test_verify_exception_handling PASSED                  [ 81%]
tests/test_cli_verify.py::test_verify_active_provider_openai_compat_missing_base_url FAILED [ 90%]
tests/test_cli_verify.py::test_verify_active_provider_openai_compat_success FAILED [100%]

====================================== FAILURES =======================================
_______________________ test_verify_active_provider_missing_key _______________________
tests\test_cli_verify.py:127: in test_verify_active_provider_missing_key
    assert "API key required for openai" in result.output
E   AssertionError: assert 'API key required for openai' in ''
E    +  where '' = <Result RuntimeError('Could not determine home directory.')>.output
_____________ test_verify_active_provider_openai_compat_missing_base_url ______________
tests\test_cli_verify.py:163: in test_verify_active_provider_openai_compat_missing_base_url
    assert "CUSTOM_BASE_URL is required for openai-compatible provider" in result.output
E   AssertionError: assert 'CUSTOM_BASE_URL is required for openai-compatible provider' in ''
E    +  where '' = <Result RuntimeError('Could not determine home directory.')>.output
__________________ test_verify_active_provider_openai_compat_success __________________
tests\test_cli_verify.py:188: in test_verify_active_provider_openai_compat_success
    assert result.exit_code == 0
E   AssertionError: assert 1 == 0
E    +  where 1 = <Result RuntimeError('Could not determine home directory.')>.exit_code
=============================== short test summary info ===============================
FAILED tests/test_cli_verify.py::test_verify_active_provider_missing_key - AssertionE...
FAILED tests/test_cli_verify.py::test_verify_active_provider_openai_compat_missing_base_url
FAILED tests/test_cli_verify.py::test_verify_active_provider_openai_compat_success - ...
============================= 3 failed, 8 passed in 3.47s =============================
