Skip to content

CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.

style: remove unused imports (pass ruff)

xf gong3b72505c05d3
diff --git a/tests/checkpointer/test_postgres.py b/tests/checkpointer/test_postgres.py
index 248131a..ee55d04 100644
--- a/tests/checkpointer/test_postgres.py
+++ b/tests/checkpointer/test_postgres.py
@@ -15,6 +15,10 @@ def test_models_import() -> None:
)
assert EXPECTED_SCHEMA_VERSION == 1
assert PARTITION_COUNT == 64
+ # All three model classes are reachable via the public model module
+ assert CubepiThread.__tablename__ == "cubepi_threads"
+ assert CubepiMessage.__tablename__ == "cubepi_messages"
+ assert CubepiSchemaVersion.__tablename__ == "cubepi_schema_version"
# All three tables registered on cubepi_metadata
assert "cubepi_threads" in cubepi_metadata.tables
assert "cubepi_messages" in cubepi_metadata.tables
diff --git a/tests/providers/test_anthropic_cache_policy.py b/tests/providers/test_anthropic_cache_policy.py
index e4dc1b1..525078f 100644
--- a/tests/providers/test_anthropic_cache_policy.py
+++ b/tests/providers/test_anthropic_cache_policy.py
@@ -4,7 +4,6 @@ import pytest
from cubepi.providers.anthropic import (
AnthropicProvider,
- CacheMarkerPolicy,
DefaultCacheMarkerPolicy,
)
from cubepi.providers.base import Message, TextContent, UserMessage