chore: fix python style violations
Co-authored-by: OpenAI/GPT-5.6-Terra <vibecoder@antoineve.me> Co-authored-by: OpenAI/GPT-5.6-Luna <vibecoder@antoineve.me> Co-authored-by: MiniMax/MiniMax-M3 <vibecoder@antoineve.me> Co-authored-by: DeepSeek/DeepSeek-v4-Flash <vibecoder@antoineve.me>
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
import pytest
|
||||
from app import create_app, db as _db
|
||||
|
||||
from app import create_app
|
||||
from app import db as _db
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def app(tmp_path):
|
||||
config_path = tmp_path / "config.toml"
|
||||
config_path.write_text("""
|
||||
config_path.write_text(
|
||||
"""
|
||||
[vehicles.citadine]
|
||||
name = "Citadine électrique"
|
||||
fuel = "electric"
|
||||
@@ -59,7 +62,9 @@ forfait = 699
|
||||
km_max = 0
|
||||
taux = 0.364
|
||||
forfait = 0
|
||||
""", encoding="utf-8")
|
||||
""",
|
||||
encoding="utf-8",
|
||||
)
|
||||
|
||||
application = create_app(config_path=str(config_path))
|
||||
application.config["TESTING"] = True
|
||||
|
||||
Reference in New Issue
Block a user