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
|
|
@ -13,8 +13,7 @@ from stacosys.interface import form
|
|||
@pytest.fixture
|
||||
def client():
|
||||
logger = logging.getLogger(__name__)
|
||||
database.setup(":memory:")
|
||||
app.config.update(SITE_REDIRECT="/redirect")
|
||||
database.setup(":memory:")
|
||||
logger.info(f"start interface {form}")
|
||||
return app.test_client()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue