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

[6.14.z] Fixture collection splitting restructured #12981

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #12923

The processing of the list of fixtures in the command line for in Pytest Plugin Fixture Collection is restructured.

Earlier:

# pytest --uses-fixtures fix1 fix2 fix3 tests/foreman

Now:

# pytest --uses-fixtures fix1,fix2,fix3 tests/foreman

Issue and Fix:

Earlier pytest is used to process all the non specific arguments after --uses-fixtures option , e.g in example above it used to consider tests/foreman as fixture as well :)

Now, it process only a string after an option and splits string by comma to obtain the list of fixtures to collect the tests for all those fixtures.

Fixture collection spliting restructured

(cherry picked from commit 33f4b32)
@Satellite-QE Satellite-QE added 6.14.z Introduced in or relating directly to Satellite 6.14 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Oct 25, 2023
@adarshdubey-star adarshdubey-star merged commit 42ee184 into 6.14.z Oct 26, 2023
17 checks passed
@adarshdubey-star adarshdubey-star deleted the cherry-pick-6.14.z-33f4b323fdbf26a83af37ff1aac635f287b082b2 branch October 26, 2023 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.14.z Introduced in or relating directly to Satellite 6.14 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants