-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add mutual exclusive plugin arguments #836
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Looks good!
Would you be able to add a test to test_utils.py
to test the proper behaviour?
2b37c8d
to
d39c27a
Compare
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.
LGTM!
@@ -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(): |
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.
def test_plugin_mutual_exclusive_arguments(): | |
def test_plugin_mutual_exclusive_arguments() -> None: |
(DIS-3388)