mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-06-10 09:32:03 +00:00
test(storage): update postgres extra expectation
This commit is contained in:
parent
def2a3ad79
commit
d6b3a277a5
@ -94,12 +94,15 @@ class TestHarnessPackaging:
|
||||
"psycopg-pool>=3.3.0",
|
||||
]
|
||||
|
||||
def test_workspace_pyproject_forwards_postgres_extra_to_harness(self):
|
||||
def test_workspace_pyproject_forwards_postgres_extra_to_storage_packages(self):
|
||||
pyproject_path = Path(__file__).resolve().parents[1] / "pyproject.toml"
|
||||
data = tomllib.loads(pyproject_path.read_text())
|
||||
|
||||
optional_dependencies = data["project"]["optional-dependencies"]
|
||||
assert optional_dependencies["postgres"] == ["deerflow-harness[postgres]"]
|
||||
assert optional_dependencies["postgres"] == [
|
||||
"deerflow-harness[postgres]",
|
||||
"deerflow-storage[postgres]",
|
||||
]
|
||||
|
||||
def test_postgres_missing_dependency_messages_recommend_package_extra(self):
|
||||
assert "deerflow-harness[postgres]" in POSTGRES_INSTALL
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user