process.py 289B

123456789101112131415
  1. # coding: utf-8
  2. from synergine2.config import Config
  3. from synergine2.processing import ProcessManager
  4. import pytest
  5. @pytest.fixture
  6. def do_nothing_process_manager() -> ProcessManager:
  7. return ProcessManager(
  8. Config(),
  9. process_count=0,
  10. job=lambda: None,
  11. )