test: align safety contracts and isolate owned native fixtures
This commit is contained in:
1 parent
422d5483bc
commit
c3a6e59420
5 files changed
+93
-8
No files matched your search
@@ -145,6 +145,8 @@ def worker_runtime(tmp_path, monkeypatch, monitor):
|
||||
from dx_productivity.trial_task_center.batch_runtime import BatchCadRuntime
|
||||
from dx_productivity.trial_task_center import worker_monitor
|
||||
monkeypatch.setattr(worker_monitor, 'run_monitored_process', monitor)
|
||||
Desktop.created = []
|
||||
Desktop.fail_release = False
|
||||
Cad.created = []
|
||||
return BatchCadRuntime(tmp_path / 'data', 'execution', desktop_factory=Desktop, cad_factory=Cad)
|
||||
|
||||
|
||||
Reference in new issue
Block a user