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

Fixture collection splitting restructured #12923

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

jyejare
Copy link
Member

@jyejare jyejare commented Oct 17, 2023

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.

@jyejare jyejare requested a review from a team as a code owner October 17, 2023 11:07
@jyejare jyejare added CherryPick PR needs CherryPick to previous branches 6.12.z Introduced in or relating directly to Satellite 6.12 6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 labels Oct 17, 2023
@Gauravtalreja1 Gauravtalreja1 merged commit 33f4b32 into SatelliteQE:master Oct 25, 2023
8 of 9 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 25, 2023
Fixture collection spliting restructured

(cherry picked from commit 33f4b32)
github-actions bot pushed a commit that referenced this pull request Oct 25, 2023
Fixture collection spliting restructured

(cherry picked from commit 33f4b32)
github-actions bot pushed a commit that referenced this pull request Oct 25, 2023
Fixture collection spliting restructured

(cherry picked from commit 33f4b32)
adarshdubey-star pushed a commit that referenced this pull request Oct 26, 2023
Fixture collection splitting restructured (#12923)

Fixture collection spliting restructured

(cherry picked from commit 33f4b32)

Co-authored-by: Jitendra Yejare <[email protected]>
adarshdubey-star pushed a commit that referenced this pull request Oct 26, 2023
Fixture collection splitting restructured (#12923)

Fixture collection spliting restructured

(cherry picked from commit 33f4b32)

Co-authored-by: Jitendra Yejare <[email protected]>
adarshdubey-star pushed a commit that referenced this pull request Oct 26, 2023
Fixture collection splitting restructured (#12923)

Fixture collection spliting restructured

(cherry picked from commit 33f4b32)

Co-authored-by: Jitendra Yejare <[email protected]>
shweta83 pushed a commit to shweta83/robottelo that referenced this pull request Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.12.z Introduced in or relating directly to Satellite 6.12 6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 CherryPick PR needs CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants