new api service and logic implemented
This commit is contained in:
13
Ztest/fixtures.py
Normal file
13
Ztest/fixtures.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""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)
|
||||
Reference in New Issue
Block a user