From 03f15f255a3d1f58abce33577458327842e5a5b8 Mon Sep 17 00:00:00 2001 From: Carlos Huaccho Date: Thu, 19 Dec 2024 15:31:57 -0500 Subject: [PATCH] Removing parent string from receoved.py asa banner file --- .../base/cisco_asa/asa_nested_banner_received.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tests/unit/mock/config/parser/base/cisco_asa/asa_nested_banner_received.py b/tests/unit/mock/config/parser/base/cisco_asa/asa_nested_banner_received.py index 05763626..269ec2ad 100644 --- a/tests/unit/mock/config/parser/base/cisco_asa/asa_nested_banner_received.py +++ b/tests/unit/mock/config/parser/base/cisco_asa/asa_nested_banner_received.py @@ -1,8 +1,13 @@ from netutils.config.parser import ConfigLine -parent: str = "group-policy Grs-POLICY attributes" data: list[ConfigLine] = [ - ConfigLine(config_line=parent, parents=()), - ConfigLine(config_line=" banner value This is an", parents=(parent,)), - ConfigLine(config_line=" banner value example nested banner", parents=(parent,)), + ConfigLine(config_line="group-policy Grs-POLICY attributes", parents=()), + ConfigLine( + config_line=" banner value This is an", + parents=("group-policy Grs-POLICY attributes",), + ), + ConfigLine( + config_line=" banner value example nested banner", + parents=("group-policy Grs-POLICY attributes",), + ), ]