diff --git a/geoportal/tests/functional/test_themes_ogc_server_cache_clean.py b/geoportal/tests/functional/test_themes_ogc_server_cache_clean.py index 629fc64213..ea4c69ce03 100644 --- a/geoportal/tests/functional/test_themes_ogc_server_cache_clean.py +++ b/geoportal/tests/functional/test_themes_ogc_server_cache_clean.py @@ -253,7 +253,7 @@ def test_ogc_server_cache_clean(self): content_type="application/vnd.ogc.wms_xml", body=DFT.format(name2="police1"), ) - asyncio.run(theme._preload(set())) + asyncio.run(theme.preload(set())) responses.reset() layers, err = asyncio.run(theme._wms_getcap(ogc_server))