fix: resolve remaining Inventory.location test failures and add Grafana config fields
All checks were successful
CI / ruff (push) Successful in 11s
CI / pytest (push) Successful in 38m13s
CI / validate (push) Successful in 23s
CI / deploy (push) Successful in 51s
CI / dependency-scanning (push) Successful in 33s
CI / docs (push) Successful in 41s

- Fix test_inventory_service.py: replace model .location with .bin_location
- Fix test_product_model.py: remove location= from Inventory constructors
- Add grafana_admin_user/password to Settings for production Grafana config

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-15 13:44:44 +01:00
parent aad18c27ab
commit 10aa75aa69
3 changed files with 19 additions and 21 deletions

View File

@@ -199,6 +199,8 @@ class Settings(BaseSettings):
# =============================================================================
enable_metrics: bool = False
grafana_url: str = "https://grafana.wizard.lu"
grafana_admin_user: str = "admin"
grafana_admin_password: str = ""
# =============================================================================
# CLOUDFLARE R2 STORAGE