From ab1aba5a9a97524645fa6a232fb1df397cb0355a Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Thu, 17 Dec 2009 23:57:39 -0700 Subject: Added Fuzzy docstrings; make-test now runs doctests in tests/*; fixed 'existant' mispelling --- tests/test_xmlrpc/test_group_plugin.py | 24 ++++++++++++------------ tests/test_xmlrpc/test_pwpolicy.py | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'tests/test_xmlrpc') diff --git a/tests/test_xmlrpc/test_group_plugin.py b/tests/test_xmlrpc/test_group_plugin.py index c33bfa3c..a6d98f69 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 1c2ccd1d..080f39bf 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) -- cgit