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

Add mutual exclusive plugin arguments #836

Merged
merged 2 commits into from
Sep 5, 2024

Conversation

cecinestpasunepipe
Copy link
Contributor

(DIS-3388)

Copy link

codecov bot commented Aug 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.53%. Comparing base (38c0145) to head (d39c27a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #836      +/-   ##
==========================================
+ Coverage   75.51%   75.53%   +0.01%     
==========================================
  Files         305      305              
  Lines       26348    26356       +8     
==========================================
+ Hits        19897    19907      +10     
+ Misses       6451     6449       -2     
Flag Coverage Δ
unittests 75.53% <100.00%> (+0.01%) ⬆️

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

@Poeloe Poeloe left a comment

Choose a reason for hiding this comment

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

Looks good!

Would you be able to add a test to test_utils.py to test the proper behaviour?

@cecinestpasunepipe cecinestpasunepipe force-pushed the DIS-3388_Mutual_exclusive_plugin_args branch from 2b37c8d to d39c27a Compare September 4, 2024 09:03
Copy link
Contributor

@Poeloe Poeloe left a comment

Choose a reason for hiding this comment

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

LGTM!

@cecinestpasunepipe cecinestpasunepipe merged commit 905f5e6 into main Sep 5, 2024
18 checks passed
@cecinestpasunepipe cecinestpasunepipe deleted the DIS-3388_Mutual_exclusive_plugin_args branch September 5, 2024 13:43
@@ -77,3 +78,17 @@ def test_plugin_name_confusion_regression(target_unix_users, pattern, expected_f
get_target_attribute(target_unix_users, plugins[0])

assert expected_function in str(exc_info.value)


def test_plugin_mutual_exclusive_arguments():
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
def test_plugin_mutual_exclusive_arguments():
def test_plugin_mutual_exclusive_arguments() -> None:

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.

3 participants