[Freeipa-devel] [patch 0006] ipalib: pass api instance into textui in doctest snippets

Tomas Babej tbabej at redhat.com
Fri Jul 10 13:05:59 UTC 2015



On 07/10/2015 02:15 PM, Milan Kubik wrote:
> On 07/10/2015 01:57 PM, Milan Kubik wrote:
>> Hi,
>>
>> the recent set of patches that modified api broke the tests that are
>> included in ipalib/cli.py
>>
>> This patch fixes the problems by passing api instance to textui() calls.
>>
>> Milan
>>
>>
> This may not be the complete solution. Similar problems arise in the
> rest of the tests in ipalib modules.
> I guess the code examples (doctest test cases) are all affected by the
> changes to the api object.
> 
> 

ACK for this patch.

Pushed to:
master: 61f41df9493acfbfd1cda017b40cf6786afd8815
ipa-4-2: c210b3d2843326e5bc934d397831d4d128c1b603

As far as the other modules go, I see most failures in the frontend:

../ipalib/__init__.py F
../ipalib/base.py .....
../ipalib/cli.py ............
../ipalib/config.py .....
../ipalib/crud.py F
../ipalib/errors.py
.....................................................................................
../ipalib/frontend.py FFFF.FFFFFFF
../ipalib/messages.py .
../ipalib/output.py .
../ipalib/parameters.py ...........
../ipalib/text.py ......




More information about the Freeipa-devel mailing list