diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2009-12-17 23:57:39 -0700 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-12-18 10:56:13 -0500 |
commit | ab1aba5a9a97524645fa6a232fb1df397cb0355a (patch) | |
tree | 647a64b3268faefab7f8623bce7854a0526fad63 /tests/test_xmlrpc | |
parent | bf9d4c598408ff7ced3b085163ae0a41d02f0e52 (diff) | |
download | freeipa-ab1aba5a9a97524645fa6a232fb1df397cb0355a.tar.gz freeipa-ab1aba5a9a97524645fa6a232fb1df397cb0355a.tar.xz freeipa-ab1aba5a9a97524645fa6a232fb1df397cb0355a.zip |
Added Fuzzy docstrings; make-test now runs doctests in tests/*; fixed 'existant' mispelling
Diffstat (limited to 'tests/test_xmlrpc')
-rw-r--r-- | tests/test_xmlrpc/test_group_plugin.py | 24 | ||||
-rw-r--r-- | tests/test_xmlrpc/test_pwpolicy.py | 2 |
2 files changed, 13 insertions, 13 deletions
diff --git a/tests/test_xmlrpc/test_group_plugin.py b/tests/test_xmlrpc/test_group_plugin.py index c33bfa3c9..a6d98f698 100644 --- a/tests/test_xmlrpc/test_group_plugin.py +++ b/tests/test_xmlrpc/test_group_plugin.py @@ -40,21 +40,21 @@ class test_group(Declarative): ################ # create group1: dict( - desc='Try to retrieve non-existant %r' % group1, + desc='Try to retrieve non-existent %r' % group1, command=('group_show', [group1], {}), expected=errors.NotFound(reason='no such entry'), ), dict( - desc='Try to update non-existant %r' % group1, + desc='Try to update non-existent %r' % group1, command=('group_mod', [group1], dict(description=u'Foo')), expected=errors.NotFound(reason='no such entry'), ), dict( - desc='Try to delete non-existant %r' % group1, + desc='Try to delete non-existent %r' % group1, command=('group_del', [group1], {}), expected=errors.NotFound(reason='no such entry'), ), @@ -191,21 +191,21 @@ class test_group(Declarative): ################ # create group2: dict( - desc='Try to retrieve non-existant %r' % group2, + desc='Try to retrieve non-existent %r' % group2, command=('group_show', [group2], {}), expected=errors.NotFound(reason='no such entry'), ), dict( - desc='Try to update non-existant %r' % group2, + desc='Try to update non-existent %r' % group2, command=('group_mod', [group2], dict(description=u'Foo')), expected=errors.NotFound(reason='no such entry'), ), dict( - desc='Try to delete non-existant %r' % group2, + desc='Try to delete non-existent %r' % group2, command=('group_del', [group2], {}), expected=errors.NotFound(reason='no such entry'), ), @@ -428,21 +428,21 @@ class test_group(Declarative): dict( - desc='Try to delete non-existant %r' % group1, + desc='Try to delete non-existent %r' % group1, command=('group_del', [group1], {}), expected=errors.NotFound(reason='no such entry'), ), dict( - desc='Try to retrieve non-existant %r' % group1, + desc='Try to retrieve non-existent %r' % group1, command=('group_show', [group1], {}), expected=errors.NotFound(reason='no such entry'), ), dict( - desc='Try to update non-existant %r' % group1, + desc='Try to update non-existent %r' % group1, command=('group_mod', [group1], dict(description=u'Foo')), expected=errors.NotFound(reason='no such entry'), ), @@ -463,21 +463,21 @@ class test_group(Declarative): dict( - desc='Try to delete non-existant %r' % group2, + desc='Try to delete non-existent %r' % group2, command=('group_del', [group2], {}), expected=errors.NotFound(reason='no such entry'), ), dict( - desc='Try to retrieve non-existant %r' % group2, + desc='Try to retrieve non-existent %r' % group2, command=('group_show', [group2], {}), expected=errors.NotFound(reason='no such entry'), ), dict( - desc='Try to update non-existant %r' % group2, + desc='Try to update non-existent %r' % group2, command=('group_mod', [group2], dict(description=u'Foo')), expected=errors.NotFound(reason='no such entry'), ), diff --git a/tests/test_xmlrpc/test_pwpolicy.py b/tests/test_xmlrpc/test_pwpolicy.py index 1c2ccd1d8..080f39bf9 100644 --- a/tests/test_xmlrpc/test_pwpolicy.py +++ b/tests/test_xmlrpc/test_pwpolicy.py @@ -81,7 +81,7 @@ class test_pwpolicy(XMLRPC_test): def test_4_pwpolicy_add(self): """ - Add a pwpolicy for a non-existant group + Add a pwpolicy for a non-existent group """ try: api.Command['pwpolicy_add'](group=u'nopwpolicy',cospriority=1,krbminpwdlife=1) |