-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing parent string from receoved.py asa banner file
- Loading branch information
1 parent
1dfdb40
commit 03f15f2
Showing
1 changed file
with
9 additions
and
4 deletions.
There are no files selected for viewing
13 changes: 9 additions & 4 deletions
13
tests/unit/mock/config/parser/base/cisco_asa/asa_nested_banner_received.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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",), | ||
), | ||
] |