Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests: Fix failing test_ipalib/test_parameters #141

Closed
wants to merge 1 commit into from

Conversation

mirielka
Copy link
Contributor

@mirielka mirielka commented Oct 6, 2016

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

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
@MartinBasti MartinBasti self-assigned this Oct 7, 2016
@martbab martbab assigned martbab and unassigned MartinBasti Oct 10, 2016
@martbab martbab added the ack Pull Request approved, can be merged label Oct 11, 2016
@MartinBasti
Copy link
Contributor

@MartinBasti MartinBasti added the pushed Pull Request has already been pushed label Oct 11, 2016
@mirielka mirielka deleted the param_test branch October 18, 2016 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
3 participants