This commit is contained in:
Daulet Amirkhanov 2025-10-13 16:40:08 +01:00
parent 3e2cc2d9ba
commit c6f4eec367

View file

@ -82,6 +82,7 @@ class TestCliIntegration:
capture_output=True,
text=True,
cwd=Path(__file__).parent.parent.parent, # Go to project root
check=True,
)
# Note: This might fail due to dependencies, but we're testing the CLI structure
@ -94,13 +95,6 @@ class TestCliIntegration:
has_litellm_cancellation = (
"loggingworker cancelled" in stderr_lower or "cancellederror" in stderr_lower
)
has_kuzu_extension_error = (
"could not establish connection" in stderr_lower
and "extension.kuzudb.com" in stderr_lower
) or (
"binder exception: extension" in stderr_lower
and "has not been installed" in stderr_lower
)
try:
assert not has_error or has_expected_failure or has_litellm_cancellation