-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Currently, watcher_getter is session scoped, which means that the finalizer will be session scoped too. Would it make sense to have watcher_getter_function accept request from the "real" fixture instead of the request from watcher_getter?
The implementations of process fixtures would then have to pass request explicitly:
@pytest.fixture
def celery(request):
return watcher_getter(request, 'celery', ['worker'])(I'm trying to implement a celery worker that run function scoped, will open a separate issue to see if that is a good fit for pytest-services)
Metadata
Metadata
Assignees
Labels
No labels