From 1cbcbdd62f3b053d49166cc9d6418e42097f25b6 Mon Sep 17 00:00:00 2001 From: Pedro Crespo-Valero <32402063+pcrespov@users.noreply.github.com> Date: Fri, 11 Oct 2024 15:46:20 +0200 Subject: [PATCH] bad import --- .../tests/unit/with_dbs/03/products/test_products_db.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/services/web/server/tests/unit/with_dbs/03/products/test_products_db.py b/services/web/server/tests/unit/with_dbs/03/products/test_products_db.py index 06022c2f9fa0..f44ec5a99f8f 100644 --- a/services/web/server/tests/unit/with_dbs/03/products/test_products_db.py +++ b/services/web/server/tests/unit/with_dbs/03/products/test_products_db.py @@ -24,9 +24,7 @@ ) from simcore_service_webserver.db.plugin import APP_AIOPG_ENGINE_KEY from simcore_service_webserver.products._db import ProductRepository -from simcore_service_webserver.products._middlewares import ( - _get_app_default_product_name, -) +from simcore_service_webserver.products._middlewares import _get_default_product_name from simcore_service_webserver.products._model import Product @@ -154,4 +152,4 @@ async def test_product_repository_get_product( mock_request.app = app async with product_repository.engine.acquire() as conn: default_product = await utils_products.get_default_product_name(conn) - assert default_product == _get_app_default_product_name(mock_request) + assert default_product == _get_default_product_name(mock_request)