Replace DB layer Peewee by PyDal

This commit is contained in:
Yax 2022-12-01 20:35:48 +01:00
parent bafc0af92c
commit 1522f2826d
15 changed files with 8962 additions and 170 deletions

View file

@ -13,7 +13,7 @@ from stacosys.interface import form
@pytest.fixture
def client():
logger = logging.getLogger(__name__)
database.setup(":memory:")
database.configure("sqlite:memory://db.sqlite")
logger.info(f"start interface {form}")
return app.test_client()