-
Notifications
You must be signed in to change notification settings - Fork 925
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
Add some extra fields in the OpenStack Network Object: #2015 #2016
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## trunk #2016 +/- ##
=======================================
Coverage 83.26% 83.26%
=======================================
Files 353 353
Lines 81310 81327 +17
Branches 8565 8568 +3
=======================================
+ Hits 67697 67714 +17
Misses 10823 10823
Partials 2790 2790
|
@@ -3160,6 +3160,12 @@ def _to_network(self, obj): | |||
extra["router:external"] = obj.get("router:external") | |||
if obj.get("subnets", None): | |||
extra["subnets"] = obj.get("subnets") | |||
if obj.get("tags", None): |
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.
Per codecov comment (#2016 (comment)) could you please add additional test cases so all the new code paths are covered?
This includes tests for all those fields being present and not being present (so both the explicit "if" and implicit "else" code branches are covered).
Thanks.
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.
Done!
Add is_default and tags extra fields in the OpenStack Network Object
Description
Add is_default, description and tags extra fields in the OpenStack Network Object: #2015
Status
Replace this: describe the PR status. Examples:
Checklist (tick everything that applies)