feat(headless): add fastapi and uvicorn dependencies
This commit is contained in:
@@ -10,6 +10,8 @@ dependencies = [
|
||||
"anthropic",
|
||||
"tomli-w",
|
||||
"psutil>=7.2.2",
|
||||
"fastapi",
|
||||
"uvicorn",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
|
||||
BIN
requirements.txt
BIN
requirements.txt
Binary file not shown.
16
tests/test_headless_dependencies.py
Normal file
16
tests/test_headless_dependencies.py
Normal file
@@ -0,0 +1,16 @@
|
||||
import pytest
|
||||
import importlib
|
||||
|
||||
def test_fastapi_installed():
|
||||
"""Verify that fastapi is installed."""
|
||||
try:
|
||||
importlib.import_module("fastapi")
|
||||
except ImportError:
|
||||
pytest.fail("fastapi is not installed")
|
||||
|
||||
def test_uvicorn_installed():
|
||||
"""Verify that uvicorn is installed."""
|
||||
try:
|
||||
importlib.import_module("uvicorn")
|
||||
except ImportError:
|
||||
pytest.fail("uvicorn is not installed")
|
||||
Reference in New Issue
Block a user