mirror of
https://github.com/wowlikon/LibraryAPI.git
synced 2025-12-11 21:30:46 +00:00
Global refactoring of the project to use poetry and implement tests,
fixing bugs, changing the handling of dto and db models, preparing to add new functionality
This commit is contained in:
12
tests/test_relationships.py
Normal file
12
tests/test_relationships.py
Normal file
@@ -0,0 +1,12 @@
|
||||
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 relationships endpoints
|
||||
Reference in New Issue
Block a user