[Freeipa-devel] [PATCH 0133] re-add missing fixture import to the CA ACL plugin test

Milan Kubík mkubik at redhat.com
Tue Feb 2 14:48:41 UTC 2016


On 02/02/2016 03:36 PM, Martin Babinsky wrote:
> This was causing some of the CA ACL plugin tests to fail/error.
>
Possible NACK. This is not an officially supported way how to reuse 
fixtures. [1]
I was working on a fix, that would contain all of the needed fixtures in 
the module that requires them.
See patch attached. However, this way kind of breaks DRY principle. The 
official conftest.py way is not practical for us, though.


[1]: 
http://pytest.org/latest/fixture.html#using-fixtures-from-classes-modules-or-projects

-- 
Milan Kubik

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkubik-0032-ipatests-Add-missing-certificate-profile-fixture.patch
Type: text/x-patch
Size: 1468 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160202/94d5bf24/attachment.bin>


More information about the Freeipa-devel mailing list