test: add missing tests for fixtures/utils.py

This commit is contained in:
2026-03-01 08:05:20 -05:00
parent bcf0c3becb
commit 858cca576e
3 changed files with 129 additions and 78 deletions

View File

@@ -92,6 +92,15 @@ class IntRole(Base):
name: Mapped[str] = mapped_column(String(50), unique=True)
class Permission(Base):
"""Test model with composite primary key."""
__tablename__ = "permissions"
subject: Mapped[str] = mapped_column(String(50), primary_key=True)
action: Mapped[str] = mapped_column(String(50), primary_key=True)
class Event(Base):
"""Test model with DateTime and Date cursor columns."""