From f1eb74e22cadf3a9f4ac991e0f8b922f6fb56d1e Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Fri, 17 Oct 2008 20:50:34 -0600 Subject: make-test now runs doctests also; fixed several broken doctests --- ipalib/frontend.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ipalib/frontend.py') diff --git a/ipalib/frontend.py b/ipalib/frontend.py index bf3eb7f2..2c34b972 100644 --- a/ipalib/frontend.py +++ b/ipalib/frontend.py @@ -63,8 +63,8 @@ class DefaultFrom(plugable.ReadOnly): The callback is available through the ``DefaultFrom.callback`` instance attribute, like this: - >>> login.callback - at 0x7fdd225cd7d0> + >>> login.callback # doctest:+ELLIPSIS + at 0x...> >>> login.callback.func_code.co_varnames # The keys ('first', 'last') @@ -473,8 +473,8 @@ class Command(plugable.Plugin): >>> api.finalize() >>> list(api.Command) ['my_command'] - >>> api.Command.my_command - PluginProxy(Command, __main__.my_command()) + >>> api.Command.my_command # doctest:+ELLIPSIS + PluginProxy(Command, ...my_command()) """ __public__ = frozenset(( -- cgit