Correct the AnsibleError exception to call its superclass's constructor

This commit is contained in:
Toshio Kuratomi 2017-12-21 19:46:15 -08:00
parent 235bdfb996
commit 5a80375be9
2 changed files with 2 additions and 1 deletions

View file

@ -125,4 +125,3 @@ class TestModArgsDwim:
assert err.value.args[0].startswith("conflicting action statements: ")
conflicts = set(err.value.args[0][len("conflicting action statements: "):].split(', '))
assert conflicts == set(('ping', 'shell'))