ソースを参照

add forgottent files

Bastien Sevajol 6 年 前
コミット
b4136afef1
共有2 個のファイルを変更した16 個の追加0 個の削除を含む
  1. 2 0
      tests/conftest.py
  2. 14 0
      tests/fixtures/process.py

+ 2 - 0
tests/conftest.py ファイルの表示

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

+ 14 - 0
tests/fixtures/process.py ファイルの表示

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