diff --git a/anta/input_models/routing/generic.py b/anta/input_models/routing/generic.py index d1c2a33dd..277611237 100644 --- a/anta/input_models/routing/generic.py +++ b/anta/input_models/routing/generic.py @@ -17,11 +17,11 @@ class IPv4Routes(BaseModel): model_config = ConfigDict(extra="forbid") prefix: IPv4Network - """The IPV4 network to validate the route type.""" + """IPv4 prefix in CIDR notation.""" vrf: str = "default" """VRF context. Defaults to `default` VRF.""" route_type: IPv4RouteType | None = None - """List of IPV4 Route type to validate the valid rout type. Required field in the `VerifyIPv4RouteType` test.""" + """Expected route type. Required field in the `VerifyIPv4RouteType` test.""" def __str__(self) -> str: """Return a human-readable string representation of the IPv4RouteType for reporting.""" diff --git a/tests/units/input_models/routing/test_generic.py b/tests/units/input_models/routing/test_generic.py index de27105bc..59d069e08 100644 --- a/tests/units/input_models/routing/test_generic.py +++ b/tests/units/input_models/routing/test_generic.py @@ -3,7 +3,6 @@ # that can be found in the LICENSE file. """Tests for anta.input_models.routing.generic.py.""" -# pylint: disable=C0302 from __future__ import annotations from typing import TYPE_CHECKING