From 86e86027849b66234e384f30efff3e355439fcee Mon Sep 17 00:00:00 2001 From: Carl Baillargeon Date: Thu, 10 Oct 2024 14:46:58 -0400 Subject: [PATCH] fix(anta.tests): Skip VerifyHardwareFlowTrackerStatus for cEOSLab and vEOS-lab (#873) --- anta/tests/flow_tracking.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/anta/tests/flow_tracking.py b/anta/tests/flow_tracking.py index 5336cf14d..676bdb4f0 100644 --- a/anta/tests/flow_tracking.py +++ b/anta/tests/flow_tracking.py @@ -11,6 +11,7 @@ from pydantic import BaseModel +from anta.decorators import skip_on_platforms from anta.models import AntaCommand, AntaTemplate, AntaTest from anta.tools import get_failed_logs @@ -151,6 +152,7 @@ def render(self, template: AntaTemplate) -> list[AntaCommand]: """Render the template for each hardware tracker.""" return [template.render(name=tracker.name) for tracker in self.inputs.trackers] + @skip_on_platforms(["cEOSLab", "vEOS-lab"]) @AntaTest.anta_test def test(self) -> None: """Main test function for VerifyHardwareFlowTrackerStatus."""