Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[1LP][RFR] Update pytest hook parameters #10112

Merged
merged 1 commit into from
May 21, 2020

Conversation

mshriver
Copy link
Member

Just making things a bit more consistent, even though the parameters are unused.

@mshriver mshriver added the other label May 13, 2020
@dajoRH dajoRH added the lint-ok label May 13, 2020
@mshriver mshriver changed the title Update pytest hook parameters [RFR] Update pytest hook parameters May 13, 2020
@jarovo
Copy link
Contributor

jarovo commented May 14, 2020

How comes python didn't complain either with or without this change?

@jarovo
Copy link
Contributor

jarovo commented May 14, 2020

How comes python didn't complain either with or without this change?

Oh. I am recalling I think it was the plugin system doing some magic with the arguments.

@mshriver
Copy link
Member Author

@JaryN I didn't dig too deep into the magic, just noticed we weren't calling the hooks consistently, and thought it better that we do so, even if we're not using the parameters.

I'm definitely open to the argument that since the parameters aren't used, we shouldn't include them.

@tpapaioa
Copy link
Contributor

I'm good with the changes.

@john-dupuy john-dupuy changed the title [RFR] Update pytest hook parameters [1LP][RFR] Update pytest hook parameters May 19, 2020
@mshriver mshriver merged commit 1b3285d into ManageIQ:master May 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants