More pythonic singleton with module. Apply pylint recommandations
This commit is contained in:
parent
f231ed1cbb
commit
b1c64d2cc8
14 changed files with 3557 additions and 684 deletions
|
|
@ -25,7 +25,6 @@ def client():
|
|||
logger = logging.getLogger(__name__)
|
||||
database.setup(":memory:")
|
||||
init_test_db()
|
||||
app.config.update(SITE_TOKEN="ETC")
|
||||
logger.info(f"start interface {api}")
|
||||
return app.test_client()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue