[Freeipa-devel] [PATCH] 325 test for cert plugin

John Dennis jdennis at redhat.com
Wed Dec 2 17:49:57 UTC 2009


On 12/01/2009 11:19 PM, Rob Crittenden wrote:
> An extremely basic test for the cert plugin. Only tests the cert-request
> command but it's a start.

I think the test should also check for the correct return type. For 
instance shouldn't

assert res['subject'] == 'CN=ipatestcert.greyoak.com'

by followed (or preceded by)

assert type(res['subject']) is unicode

Also, is this going to deprecate checks/check_ra.py?

-- 
John Dennis <jdennis at redhat.com>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/




More information about the Freeipa-devel mailing list