[Freeipa-devel] [freeipa PR#141][opened] Tests: Fix failing test_ipalib/test_parameters

mirielka freeipa-github-notification at redhat.com
Thu Oct 6 11:10:44 UTC 2016


   URL: https://github.com/freeipa/freeipa/pull/141
Author: mirielka
 Title: #141: Tests: Fix failing test_ipalib/test_parameters
Action: opened

PR body:
"""
Parameters test fails because of KeyError caused by improper manipulation with
kwargs in Param.__init__ method. During initialization, if kwargs['required']
or kwargs['multivalue'] is None, it is delete from dictionary and hence the
missing key. Small change of the condition prevents this from happening.

Partially fixes https://fedorahosted.org/freeipa/ticket/6292
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/141/head:pr141
git checkout pr141
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pr-141.patch
Type: text/x-diff
Size: 1156 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20161006/49da0b5b/attachment.bin>


More information about the Freeipa-devel mailing list