The scopes are passed in as an argument to the fixture decorator. import pytest @pytest.fixture(scope="session") def test_something(): # ...
確定! 回上一頁