-
Notifications
You must be signed in to change notification settings - Fork 721
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix HP Procurve show_vlans template (failing py.test)
- Loading branch information
1 parent
f5fb01e
commit a014197
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
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
a014197
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is the
^.*$$ -> Error
there?it seems like it fails this output from show vlan on a hp procurve 2520. It has a trailing
\s\n
as last line which seem to trigger the error.a014197
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error like is to ensure that all data is accounted for. We should include a line for capturing only space characters in the template