Add an integration test to ensure that defaults don't count towards mutually exclusive (#79949)

pull/79980/head
Mark Chappell 2 years ago committed by GitHub
parent b5ff981369
commit ceafb5411a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,6 +23,10 @@ def main():
'type': 'str',
'choices': ['absent', 'present'],
},
'default_value': {
'type': 'bool',
'default': True,
},
'path': {},
'content': {},
'mapping': {
@ -246,7 +250,7 @@ def main():
('state', 'present', ('path', 'content'), True),
),
mutually_exclusive=(
('path', 'content'),
('path', 'content', 'default_value',),
),
required_one_of=(
('required_one_of_one', 'required_one_of_two'),

Loading…
Cancel
Save