Skip to content

Commit

Permalink
fix: Resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
titom73 authored Jun 5, 2024
1 parent 57d8ade commit 2c9c429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anta/tests/routing/isis.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def _get_adjacency_segment_data_by_neighbor(neighbor: str, instance: str, vrf: s
isis_instance = get_value(dictionary=command_output, key=search_path, default=None)

return next(
(Segment_data for Segment_data in isis_instance if neighbor == Segment_data["ipAddress"]),
(segment_data for segment_data in isis_instance if neighbor == segment_data["ipAddress"]),
None,
)

Expand Down Expand Up @@ -354,7 +354,7 @@ class VerifyISISSegmentRoutingAdjacencySegments(AntaTest):
"""

name = "VerifyISISSegmentRoutingAdjacencySegments"
description = "Verify "
description = "Verify expected Adjacency segments are correctly visible for each interface."
categories: ClassVar[list[str]] = ["isis", "segment-routing"]
commands: ClassVar[list[AntaCommand | AntaTemplate]] = [AntaCommand(command="show isis segment-routing adjacency-segments", ofmt="json")]

Expand Down

0 comments on commit 2c9c429

Please sign in to comment.