merge testing->tomerge/main #7
@@ -59,7 +59,7 @@ class MutateRequest(BaseModel):
|
|||||||
|
|
||||||
@app.get("/health")
|
@app.get("/health")
|
||||||
async def health() -> dict[str, str]:
|
async def health() -> dict[str, str]:
|
||||||
return {"status": "ok", "marker": "push-test-2"}
|
return {"status": "ok"}
|
||||||
|
|
||||||
|
|
||||||
@app.get("/status")
|
@app.get("/status")
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ def test_factory_mysql_branch(monkeypatch):
|
|||||||
first query — so the repository constructs cleanly here.
|
first query — so the repository constructs cleanly here.
|
||||||
"""
|
"""
|
||||||
monkeypatch.setenv("DECNET_DB_TYPE", "mysql")
|
monkeypatch.setenv("DECNET_DB_TYPE", "mysql")
|
||||||
monkeypatch.setenv("DECNET_DB_URL", "mysql+aiomysql://u:p@127.0.0.1:3306/x")
|
monkeypatch.setenv("DECNET_DB_URL", "mysql+asyncmy://u:p@127.0.0.1:3306/x")
|
||||||
repo = get_repository()
|
repo = get_repository()
|
||||||
assert isinstance(repo, MySQLRepository)
|
assert isinstance(repo, MySQLRepository)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user