From e01b1b8f99e67b08d1827b13f411f6d3cccfcf41 Mon Sep 17 00:00:00 2001 From: Pavel Zuna Date: Thu, 27 Aug 2009 15:55:19 +0200 Subject: Fix unit tests for plugins using baseldap classes. --- ipalib/cli.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ipalib/cli.py') diff --git a/ipalib/cli.py b/ipalib/cli.py index ef669b4a..da689de6 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -245,8 +245,11 @@ class textui(backend.Backend): >>> ui.print_attribute(attr, u'dc=example,dc=com') dn: dc=example,dc=com >>> attr = 'objectClass' - >>> ui.print_attribute(attr, [u'top', u'someClass']) + >>> ui.print_attribute(attr, [u'top', u'someClass'], one_value_per_line=False) objectClass: top, someClass + >>> ui.print_attribute(attr, [u'top', u'someClass']) + objectClass: top + objectClass: someClass """ assert isinstance(attr, basestring) if not isinstance(value, (list, tuple)): -- cgit