From 3fb6f8d5ff38b6c3f1c74f5bb9f50379cd373076 Mon Sep 17 00:00:00 2001 From: Laurent LAPORTE Date: Wed, 18 Oct 2023 16:24:17 +0200 Subject: [PATCH] chore: correct bad imports in unit tests --- tests/conftest_db.py | 2 +- tests/integration/study_data_blueprint/test_renewable.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest_db.py b/tests/conftest_db.py index bcb4177766..1880b69725 100644 --- a/tests/conftest_db.py +++ b/tests/conftest_db.py @@ -1,5 +1,5 @@ import contextlib -from typing import Any, Generator +from typing import Generator import pytest from sqlalchemy import create_engine # type: ignore diff --git a/tests/integration/study_data_blueprint/test_renewable.py b/tests/integration/study_data_blueprint/test_renewable.py index a73ee878b9..765261b4e1 100644 --- a/tests/integration/study_data_blueprint/test_renewable.py +++ b/tests/integration/study_data_blueprint/test_renewable.py @@ -34,7 +34,7 @@ from antarest.core.utils.string import to_camel_case from antarest.study.storage.rawstudy.model.filesystem.config.model import transform_name_to_id from antarest.study.storage.rawstudy.model.filesystem.config.renewable import RenewableProperties -from integration.utils import wait_task_completion +from tests.integration.utils import wait_task_completion DEFAULT_PROPERTIES = json.loads(RenewableProperties(name="Dummy").json()) DEFAULT_PROPERTIES = {to_camel_case(k): v for k, v in DEFAULT_PROPERTIES.items() if k != "name"}