We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79c00b3 commit 50cfe2bCopy full SHA for 50cfe2b
pytest_lockable/plugin.py
@@ -18,7 +18,7 @@ def pytest_addoption(parser):
18
group.addoption("--allocation_lock_folder", default=tempfile.gettempdir(), help="Allocation lockfiles folder")
19
20
21
-@pytest.fixture(scope="session", autouse=True)
+@pytest.fixture(scope="session")
22
def lockable(pytestconfig):
23
"""
24
pytest fixture that yields function for allocate any resource
@@ -36,7 +36,7 @@ def test_foo(lockable):
36
yield _lockable
37
38
39
40
def lockable_resource(pytestconfig, lockable): # pylint: disable=redefined-outer-name
41
42
pytest fixture that lock suitable resource and yield it
0 commit comments