Refactor Proxmox settings validation and enhance dotenv loading logic; update README for clarity on configuration requirements
This commit is contained in:
parent
9a7bd81d17
commit
376e6f5631
10 changed files with 135 additions and 25 deletions
|
|
@ -16,9 +16,6 @@ def test_factory_returns_live_service_when_live_env_is_present() -> None:
|
|||
settings = AppSettings.from_env(
|
||||
{
|
||||
"PROXMOX_URL": "https://proxmox.example.invalid:8006",
|
||||
"PROXMOX_USER": "root",
|
||||
"PROXMOX_PASSWORD": "secret",
|
||||
"PROXMOX_REALM": "pam",
|
||||
},
|
||||
load_dotenv_file=False,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue