Bläddra i källkod

add forgottent files

Bastien Sevajol 6 år sedan
förälder
incheckning
b4136afef1
2 ändrade filer med 16 tillägg och 0 borttagningar
  1. 2 0
      tests/conftest.py
  2. 14 0
      tests/fixtures/process.py

+ 2 - 0
tests/conftest.py Visa fil

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

+ 14 - 0
tests/fixtures/process.py Visa fil

@@ -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
+    )