Skip to content

Session fixture is being activated second time #8328

Closed
@dina809

Description

@dina809

Hi

we have a session fixture that receives parameters.
when running 2 tests using this fixture, it is being activated also for the second test.

how can we make it to run 1 time only (despite the fact it has parameters)?

using pytest 5.4.2 (python 3.7.4)

Metadata

Metadata

Assignees

Labels

status: help wanteddevelopers would like help from experts on this topictopic: fixturesanything involving fixtures directly or indirectlytype: questiongeneral question, might be closed after 2 weeks of inactivity

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions