Files
Christian Manivong 8b41a948be
CI / test (3.10) (push) Successful in 28s
CI / test (3.11) (push) Successful in 26s
CI / test (3.12) (push) Successful in 28s
CI / test (3.10) (pull_request) Successful in 26s
CI / test (3.11) (pull_request) Successful in 26s
CI / test (3.12) (pull_request) Successful in 27s
feat: drop the get_device_warnings override; the pending updates are the fact (0.2.0)
The override counted "N upgraded" in an apt simulation run without a
fixed locale -- nothing matched on a German host -- and hid held-back
packages, which FULL_UPGRADE installs. netOrk names updates_available
from get_available_updates (netOrk #1111).
2026-10-17 09:39:16 +02:00

13 lines
466 B
Python

"""The pending updates are a fact, not a warning of the driver's (netOrk #1111).
The override counted "N upgraded" in apt's simulation -- nothing on a German
host -- and hid held-back packages, which FULL_UPGRADE installs. The caller
names updates_available from get_available_updates.
"""
from napalm_openmediavault.openmediavault import OpenMediaVaultDriver
def test_no_warnings_of_its_own():
assert "get_device_warnings" not in vars(OpenMediaVaultDriver)