diff --git a/src/aiida/tools/pytest_fixtures/daemon.py b/src/aiida/tools/pytest_fixtures/daemon.py index 379b08e0c..46e729ae0 100644 --- a/src/aiida/tools/pytest_fixtures/daemon.py +++ b/src/aiida/tools/pytest_fixtures/daemon.py @@ -116,7 +116,7 @@ def test(submit_and_await): from aiida.engine import ProcessState def factory( - submittable: type[Process] | 'ProcessBuilder' | 'ProcessNode' | t.Any, + submittable: type[Process] | 'ProcessBuilder' | 'ProcessNode', state: ProcessState = ProcessState.FINISHED, timeout: int = 20, **kwargs,