From a906a40b7baa421e72090d6d55b7ff464a3d1635 Mon Sep 17 00:00:00 2001 From: Colin Maudry Date: Tue, 21 Apr 2026 17:21:32 +0200 Subject: [PATCH] Fix import src.utils.cache --- tests/test_table.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_table.py b/tests/test_table.py index cc89386..a487499 100644 --- a/tests/test_table.py +++ b/tests/test_table.py @@ -83,7 +83,7 @@ def flask_app(): """Minimal Flask app with SimpleCache so @cache.memoize() works in tests.""" from flask import Flask - from utils.cache import cache + from src.utils.cache import cache app = Flask(__name__) cache.init_app(app, config={"CACHE_TYPE": "SimpleCache"}) @@ -95,7 +95,7 @@ def reset_cache(flask_app): """Ensure the flask-caching backend is empty between tests so that cache-hit assertions are meaningful. Falls back to no-op when no Flask app context is active (NullCache).""" - from utils.cache import cache + from src.utils.cache import cache with flask_app.app_context(): try: