14 lines
356 B
Python
14 lines
356 B
Python
"""Test fixtures and models."""
|
|
|
|
from sqlalchemy import Column, String
|
|
|
|
from Services.PostgresDb.Models.mixins import CrudCollection
|
|
|
|
|
|
class TestUser(CrudCollection):
|
|
"""Test user model for PostgreSQL tests."""
|
|
|
|
__tablename__ = "test_users"
|
|
username = Column(String, unique=True, index=True)
|
|
email = Column(String, unique=True, index=True)
|