Reduce test output
This commit is contained in:
parent
caa2e1e8a4
commit
98898b98fc
@ -14,6 +14,9 @@ SQLAlchemy = "^1.4.12"
|
||||
[tool.poetry.dev-dependencies]
|
||||
pytest = "^5.2"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "--show-capture=log"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
@ -12,7 +12,7 @@ import amanuensis.backend.user as userq
|
||||
@pytest.fixture
|
||||
def db():
|
||||
"""Provides an initialized database in memory."""
|
||||
db = DbContext('sqlite:///:memory:', debug=True)
|
||||
db = DbContext('sqlite:///:memory:', debug=False)
|
||||
db.create_all()
|
||||
return db
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user