diff options
author | Petr Viktorin <pviktori@redhat.com> | 2012-03-14 11:33:41 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2012-03-25 18:05:33 -0400 |
commit | 0b01751c1bd7c579ab8f7fb64d9182c6f107ab3b (patch) | |
tree | 904d4cb862f600f0249d6db99bbfc4423bc944e0 /tests/test_xmlrpc/test_automember_plugin.py | |
parent | a735420a9ba3d507855a75a1a48f79a2358c7081 (diff) | |
download | freeipa-0b01751c1bd7c579ab8f7fb64d9182c6f107ab3b.tar.gz freeipa-0b01751c1bd7c579ab8f7fb64d9182c6f107ab3b.tar.xz freeipa-0b01751c1bd7c579ab8f7fb64d9182c6f107ab3b.zip |
Use valid argument names in tests
Some of our tests used unintended extra options, or options with
misspelled, wrongly copy-pasted or otherwise bad names. These are
ignored, so the intended argument was treated as missing. The test
itself can still pass but may be rendered ineffective or fragile.
This only fixes those of such errors that appear in the test suite.
Fixing code in the framework and actual rejecting of unknown
arguments is deferred for later (ticket #2509).
Diffstat (limited to 'tests/test_xmlrpc/test_automember_plugin.py')
-rw-r--r-- | tests/test_xmlrpc/test_automember_plugin.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/test_xmlrpc/test_automember_plugin.py b/tests/test_xmlrpc/test_automember_plugin.py index 1241bd669..265c3af86 100644 --- a/tests/test_xmlrpc/test_automember_plugin.py +++ b/tests/test_xmlrpc/test_automember_plugin.py @@ -718,10 +718,7 @@ class test_automember(Declarative): dict( desc='Retrieve default automember group for groups', command=( - 'automember_default_group_show', [], dict( - type=u'group', - automemberdefaultgroup=defaultgroup1, - ) + 'automember_default_group_show', [], dict(type=u'group') ), expected=dict( result=dict( |