mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-08 03:28:35 +03:00
13 lines
285 B
Python
13 lines
285 B
Python
from fastapi.testclient import TestClient
|
|
from sqlalchemy.orm import Session
|
|
|
|
from app.main import app
|
|
import app.db.models as models
|
|
|
|
client = TestClient(app)
|
|
|
|
|
|
def test_create_task(db_session: Session) -> None:
|
|
jobs = db_session.query(models.Job).all()
|
|
assert len(jobs) == 0
|