Skip to content

Commit 5053f94

Browse files
committed
REF: rename test function for clarity in test_news.py
1 parent 0d83e01 commit 5053f94

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/main.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
from contextlib import asynccontextmanager
33

44
from fastapi import FastAPI
5-
from app.services.database.database import AsyncSessionLocal, init_db
65

76
from app.routers.router import setup_router as setup_router_v2
87
from app.services.database.database import AsyncSessionLocal, init_db

tests/test_news.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async def community(session: AsyncSession):
2020

2121

2222
@pytest.mark.asyncio
23-
async def test_insert_libraries(session: AsyncSession, community: Community):
23+
async def test_insert_news(session: AsyncSession, community: Community):
2424
"""
2525
Testa a inserção de uma notícia no banco de dados.
2626
"""

0 commit comments

Comments
 (0)