-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Session fixture is being activated second time #8328
Copy link
Copy link
Closed
Labels
status: help wanteddevelopers would like help from experts on this topicdevelopers would like help from experts on this topictopic: fixturesanything involving fixtures directly or indirectlyanything involving fixtures directly or indirectlytype: questiongeneral question, might be closed after 2 weeks of inactivitygeneral question, might be closed after 2 weeks of inactivity
Metadata
Metadata
Assignees
Labels
status: help wanteddevelopers would like help from experts on this topicdevelopers would like help from experts on this topictopic: fixturesanything involving fixtures directly or indirectlyanything involving fixtures directly or indirectlytype: questiongeneral question, might be closed after 2 weeks of inactivitygeneral question, might be closed after 2 weeks of inactivity
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)