mirror of
https://github.com/wowlikon/LibraryAPI.git
synced 2025-12-11 21:30:46 +00:00
fixing bugs, changing the handling of dto and db models, preparing to add new functionality
13 lines
309 B
Python
13 lines
309 B
Python
import pytest
|
|
from alembic import command
|
|
from alembic.config import Config
|
|
from fastapi.testclient import TestClient
|
|
from sqlmodel import select, delete, Session
|
|
|
|
from library_service.main import app
|
|
from tests.test_misc import setup_database
|
|
|
|
client = TestClient(app)
|
|
|
|
#TODO: add tests for author endpoints
|