Skip to content
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

KeyInfo: prevent read_only usage with can_disable, remove_value, absent_value, default, or required #265

Merged
merged 2 commits into from
Mar 3, 2024

Conversation

felixfontein
Copy link
Collaborator

SUMMARY

Ref: #264 (comment)

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

_api_data.py

Copy link

codecov bot commented Mar 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.99%. Comparing base (8400926) to head (901b6e0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #265      +/-   ##
==========================================
+ Coverage   82.97%   82.99%   +0.02%     
==========================================
  Files          32       32              
  Lines        4046     4051       +5     
  Branches      871      873       +2     
==========================================
+ Hits         3357     3362       +5     
  Misses        506      506              
  Partials      183      183              
Flag Coverage Δ
integration 66.86% <ø> (ø)
sanity 22.08% <0.00%> (-0.03%) ⬇️
units 82.93% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@derdeagle derdeagle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice idea that you had here ;)

@felixfontein felixfontein merged commit 2ea1fef into ansible-collections:main Mar 3, 2024
45 checks passed
@felixfontein felixfontein deleted the check branch March 3, 2024 08:03
@felixfontein
Copy link
Collaborator Author

@derdeagle thanks for reviewing this!

samburney pushed a commit to samburney/community.routeros that referenced this pull request Mar 30, 2024
…nt_value, default, or required (ansible-collections#265)

* Prevent read_only usage with can_disable, remove_value, absent_value, default, or required.

* Add test.
samburney pushed a commit to samburney/community.routeros that referenced this pull request Mar 30, 2024
…nt_value, default, or required (ansible-collections#265)

* Prevent read_only usage with can_disable, remove_value, absent_value, default, or required.

* Add test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants