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_host_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_host_plugin.py')
-rw-r--r-- | tests/test_xmlrpc/test_host_plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_xmlrpc/test_host_plugin.py b/tests/test_xmlrpc/test_host_plugin.py index 5e49e2bad..2ef99c4a4 100644 --- a/tests/test_xmlrpc/test_host_plugin.py +++ b/tests/test_xmlrpc/test_host_plugin.py @@ -123,7 +123,7 @@ class test_host(Declarative): command=('host_add', [fqdn1], dict( description=u'Test host 1', - localityname=u'Undisclosed location 1', + locality=u'Undisclosed location 1', force=True, ), ), |