GeoIntel release gates / Compile, test, contracts and builds (push) Successful in 1m49s
GeoIntel release gates / Python and npm vulnerability policy (push) Successful in 21s
GeoIntel release gates / Production AI image, SBOM and container scan (push) Successful in 5m39s
GeoIntel release gates / Deploy exact gated revision to Unraid (push) Failing after 58m43s
11 lines
378 B
Python
11 lines
378 B
Python
from pathlib import Path
|
|
|
|
|
|
def test_alembic_logging_formatter_uses_runtime_interpolation_tokens() -> None:
|
|
config = Path(__file__).resolve().parents[1] / "alembic.ini"
|
|
content = config.read_text(encoding="utf-8")
|
|
|
|
assert "format = %(levelname)-5.5s [%(name)s] %(message)s" in content
|
|
assert "%%(levelname)" not in content
|
|
assert "%%(message)" not in content
|