Skip to content

Commit

Permalink
Fix more stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-baillargeon committed Jan 31, 2024
1 parent a4fc976 commit 444538a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion anta/tests/connectivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class VerifyLLDPNeighbors(AntaTest):
"""

name = "VerifyLLDPNeighbors"
description = "Verifies that the LLDP neighbors are present and connected properly."
description = "Verifies that the provided LLDP neighbors are connected properly."
categories = ["connectivity"]
commands = [AntaCommand(command="show lldp neighbors detail")]

Expand Down
2 changes: 1 addition & 1 deletion anta/tests/hardware.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class VerifyTransceiversManufacturers(AntaTest):
"""

name = "VerifyTransceiversManufacturers"
description = "Verifies if all the transceivers come from approved manufacturers."
description = "Verifies if all transceivers come from approved manufacturers."
categories = ["hardware"]
commands = [AntaCommand(command="show inventory", ofmt="json")]

Expand Down
22 changes: 11 additions & 11 deletions anta/tests/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ def test(self) -> None:

class VerifyInterfaceErrDisabled(AntaTest):
"""
Verifies there is no interface in errdisabled state.
Verifies there are no interfaces in errdisabled state.
Expected Results:
* success: The test will pass if there is no interface in errdisabled state.
* success: The test will pass if there are no interfaces in errdisabled state.
* failure: The test will fail if there is at least one interface in errdisabled state.
"""

name = "VerifyInterfaceErrDisabled"
description = "Verifies there is no interface in the errdisabled state."
description = "Verifies there are no interfaces in the errdisabled state."
categories = ["interfaces"]
commands = [AntaCommand(command="show interfaces status")]

Expand Down Expand Up @@ -192,7 +192,7 @@ class VerifyStormControlDrops(AntaTest):
Verifies the device did not drop packets due its to storm-control configuration.
Expected Results:
* success: The test will pass if there is no storm-control drop counters.
* success: The test will pass if there are no storm-control drop counters.
* failure: The test will fail if there is at least one storm-control drop counter.
"""

Expand All @@ -219,11 +219,11 @@ def test(self) -> None:

class VerifyPortChannels(AntaTest):
"""
Verifies there is no inactive port in port channels.
Verifies there are no inactive ports in all port channels.
Expected Results:
* success: The test will pass if there is no inactive port in port channels.
* failure: The test will fail if there is at least one inactive port in port channels.
* success: The test will pass if there are no inactive ports in all port channels.
* failure: The test will fail if there is at least one inactive port in a port channel.
"""

name = "VerifyPortChannels"
Expand All @@ -247,11 +247,11 @@ def test(self) -> None:

class VerifyIllegalLACP(AntaTest):
"""
Verifies there is no illegal LACP packets received.
Verifies there are no illegal LACP packets received.
Expected Results:
* success: The test will pass if there is no illegal LACP packets received.
* failure: The test will fail if there is at least one illegal LACP packets received.
* success: The test will pass if there are no illegal LACP packets received.
* failure: The test will fail if there is at least one illegal LACP packet received.
"""

name = "VerifyIllegalLACP"
Expand Down Expand Up @@ -314,7 +314,7 @@ def test(self) -> None:

class VerifySVI(AntaTest):
"""
Verifies tthe status of all SVIs.
Verifies the status of all SVIs.
Expected Results:
* success: The test will pass if all SVIs are up.
Expand Down

0 comments on commit 444538a

Please sign in to comment.