[Freeipa-devel] [PATCH] 0288 Use a user result template in tests
Petr Viktorin
pviktori at redhat.com
Mon Sep 30 15:05:19 UTC 2013
Hello,
This patch introduces an user "template" with the result of a default
user add/show. The template is then customized and used in each test.
This makes the tests shorter, and highlights the "non-default"
(interesting) pieces of the result instead of presenting a wall of text.
Also, when a new default attribute is added to user results (as is the
case in my upcoming ACI patches), there's now only one place to change.
--
Petr³
P.S. Speaking of highlighting interesting results, I wonder why
user_{add,show,find} but *not* user_mod, returns the dn? Or why user_add
doesn't return nsaccountlock? (This is API only)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0288-Use-a-user-result-template-in-tests.patch
Type: text/x-patch
Size: 104404 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130930/11833ba9/attachment.bin>
More information about the Freeipa-devel
mailing list