O'Reilly logo
  • Chris Kang thinks this is interesting:

scope=’session’

Run once per session. All test methods and functions using a fixture of session scope share one setup and teardown call.

From

Cover of Python Testing with pytest

Note

For all test cases that share the same fixture, the fixture is only run once