From c43d5b5fb3f37f0a38af8b21e7d51541e653a215 Mon Sep 17 00:00:00 2001 From: VincentAURIAU Date: Wed, 1 Nov 2023 00:30:44 +0100 Subject: [PATCH] FIX: fixes coming from the directory change of name --- pyproject.toml | 2 +- tests/prev_engine_test.py | 6 ++---- tests/unit_test/engine_test.py | 2 +- tests/unit_test/test_material.py | 4 ++-- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4a9b9ba..195e4d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,5 +14,5 @@ requires-python = ">=3.8" [tool.setuptools] packages = [ "tests", - "python" + "pyalapin" ] diff --git a/tests/prev_engine_test.py b/tests/prev_engine_test.py index fd7a42e..2fdb4c0 100644 --- a/tests/prev_engine_test.py +++ b/tests/prev_engine_test.py @@ -2,12 +2,10 @@ sys.path.append("pyalapin") -import engine.engine as engine -import importlib -import engine.move as move +import pyalapin.engine.engine as engine +import pyalaping.engine.move as move import time -importlib.reload(engine) import player.ai_player as ai_player diff --git a/tests/unit_test/engine_test.py b/tests/unit_test/engine_test.py index 718143c..a019586 100644 --- a/tests/unit_test/engine_test.py +++ b/tests/unit_test/engine_test.py @@ -2,7 +2,7 @@ sys.path.append("pyalapin") -import engine.engine as engine +import pyalapin.engine.engine as engine def test_blocked_moves(): diff --git a/tests/unit_test/test_material.py b/tests/unit_test/test_material.py index 7447cf1..6aef5f2 100644 --- a/tests/unit_test/test_material.py +++ b/tests/unit_test/test_material.py @@ -2,8 +2,8 @@ sys.path.append("pyalapin") -import engine.engine as engine -import engine.material as material +import pyalapin.engine.engine as engine +import pyalapin.engine.material as material # Add verifications about own color of piece on end cell #