Browse Source

add forgottent files

Bastien Sevajol 6 years ago
parent
commit
b4136afef1
2 changed files with 16 additions and 0 deletions
  1. 2 0
      tests/conftest.py
  2. 14 0
      tests/fixtures/process.py

+ 2 - 0
tests/conftest.py View File

@@ -0,0 +1,2 @@
1
+# coding: utf-8
2
+from tests.fixtures.process import *

+ 14 - 0
tests/fixtures/process.py View File

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