mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-08 03:28:35 +03:00
feat: add celery job queue
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
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
|
||||
Reference in New Issue
Block a user