Add character backend #4

Merged
Jaculabilis merged 3 commits from tvb/character-backend into develop 2021-06-01 00:19:59 +00:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 98898b98fc - Show all commits

View File

@ -14,6 +14,9 @@ SQLAlchemy = "^1.4.12"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
pytest = "^5.2" pytest = "^5.2"
[tool.pytest.ini_options]
addopts = "--show-capture=log"
[build-system] [build-system]
requires = ["poetry-core>=1.0.0"] requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"

View File

@ -12,7 +12,7 @@ import amanuensis.backend.user as userq
@pytest.fixture @pytest.fixture
def db(): def db():
"""Provides an initialized database in memory.""" """Provides an initialized database in memory."""
db = DbContext('sqlite:///:memory:', debug=True) db = DbContext('sqlite:///:memory:', debug=False)
db.create_all() db.create_all()
return db return db