1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
From: Roland Mas <roland.mas@entierement.net>
Date: Tue, 10 Dec 2024 13:05:48 +0100
Subject: Don't use relative paths in testsuite
---
src/pypushflow/tests/concurrent/test_interrupt.py | 2 +-
src/pypushflow/tests/concurrent/utils.py | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/pypushflow/tests/concurrent/test_interrupt.py b/src/pypushflow/tests/concurrent/test_interrupt.py
index e93d5cd..3206d14 100644
--- a/src/pypushflow/tests/concurrent/test_interrupt.py
+++ b/src/pypushflow/tests/concurrent/test_interrupt.py
@@ -3,7 +3,7 @@ import time
from numbers import Number
import pytest
from . import utils
-from ...concurrent.interrupt import StopPypushflowTask
+from pypushflow.concurrent.interrupt import StopPypushflowTask
def create_file(sleep_time: Number, filename: str) -> str:
diff --git a/src/pypushflow/tests/concurrent/utils.py b/src/pypushflow/tests/concurrent/utils.py
index effa7ce..ba31859 100644
--- a/src/pypushflow/tests/concurrent/utils.py
+++ b/src/pypushflow/tests/concurrent/utils.py
@@ -16,9 +16,9 @@ except ImportError:
BPool = None
BProcess = None
-from ...concurrent import get_pool
-from ...concurrent import exceptions
-from ...concurrent.factory import _POOLS
+from pypushflow.concurrent import get_pool
+from pypushflow.concurrent import exceptions
+from pypushflow.concurrent.factory import _POOLS
CONTEXTS = [None] + get_all_start_methods()
|