Skip to content

Conversation

@charlesfayal
Copy link
Contributor

The new gitlab api needs a name for the approval rules, added a default one to maintain the python-gitlab api.

The prior pull request wasn't ready for merge, needed this fix.

@max-wittig
Copy link
Member

Totally missed that. Could you please format your code with black and start the commit message in present tense and small letters? Thanks 👍

Updating approvers new api needs a POST call. Also It needs a name of the new rule, defaulting this to 'name'.
@charlesfayal
Copy link
Contributor Author

@max-wittig All fixed!

@max-wittig
Copy link
Member

@charlesfayal Sorry for the delay, but I think there is a small copy paste error

data = {
"approvals_required": approvals_required,
"name": "name",
"self.assertEqual(expected, actual, 'message')pprovals_required": approvals_required,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't look right

@max-wittig max-wittig mentioned this pull request Mar 8, 2020
@max-wittig max-wittig merged commit 70c0cfb into python-gitlab:master Mar 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants