File: 0002-Fix-imports-in-testsuite.patch

package info (click to toggle)
python-ewoks 0.6.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 552 kB
  • sloc: python: 1,311; makefile: 5
file content (35 lines) | stat: -rw-r--r-- 1,331 bytes parent folder | download
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
From: Roland Mas <roland.mas@entierement.net>
Date: Wed, 18 Dec 2024 12:40:21 +0100
Subject: Fix imports in testsuite

---
 src/ewoks/tests/test_convert_cli.py | 2 +-
 src/ewoks/tests/test_execute_cli.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ewoks/tests/test_convert_cli.py b/src/ewoks/tests/test_convert_cli.py
index b9acc9d..e1d5e9c 100644
--- a/src/ewoks/tests/test_convert_cli.py
+++ b/src/ewoks/tests/test_convert_cli.py
@@ -7,7 +7,7 @@ from ewokscore import load_graph
 from ewokscore.graph import TaskGraph
 from ewokscore.tests.examples.graphs import graph_names
 
-from ewoks.tests.utils import has_default_input
+from .utils import has_default_input
 
 
 def _ewokscore_in_graph_requirements(graph: TaskGraph) -> bool:
diff --git a/src/ewoks/tests/test_execute_cli.py b/src/ewoks/tests/test_execute_cli.py
index d9bd7d1..85c50e8 100644
--- a/src/ewoks/tests/test_execute_cli.py
+++ b/src/ewoks/tests/test_execute_cli.py
@@ -9,7 +9,7 @@ from ewokscore.tests.examples.graphs import graph_names
 from ewokscore.tests.examples.graphs import get_graph
 from ewokscore.tests.utils.results import assert_execute_graph_default_result
 
-from ewoks.tests.utils import has_default_input
+from .utils import has_default_input
 
 
 def _ewokscore_in_graph_requirements(graph: TaskGraph) -> bool: