Tweak tests

This commit is contained in:
Thomas Sileo 2022-07-10 15:29:51 +02:00
parent c3c4475e24
commit 229feb23db
2 changed files with 10 additions and 12 deletions

View file

@ -11,10 +11,10 @@ from app import actor
from app import models
from app.actor import RemoteActor
from app.ap_object import RemoteObject
from app.database import engine
from app.database import SessionLocal
from app.database import now
_Session = orm.scoped_session(orm.sessionmaker(bind=engine))
_Session = orm.scoped_session(SessionLocal)
def generate_key() -> tuple[str, str]: