-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests for bgpcfgd templates #4841
Tests for bgpcfgd templates #4841
Conversation
This pull request fixes 1 alert when merging ba6d16e into 563a0fd - view on LGTM.com fixed alerts:
|
This pull request fixes 3 alerts when merging 699ce90 into 5cacc20 - view on LGTM.com fixed alerts:
|
This pull request fixes 3 alerts when merging 2013ab0 into 63d2efb - view on LGTM.com fixed alerts:
|
return str(getattr(prefix, attr)) | ||
|
||
@staticmethod | ||
def pfx_filter(value): |
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.
should this be fixed to add /32 if it is ip address?
- Why I did it
- How I did it
I used pytest framework to write the tests.
- How to verify it
It should give you following output:
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)