X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fb0ebb5bf053e146a56c7e8c6727aa99c6de39f8..a33f2c0f5ba43df533b6e137f9151fe67feb20a1:/test/python/test_tools_sp_wiki_loader.py diff --git a/test/python/test_tools_sp_wiki_loader.py b/test/python/test_tools_sp_wiki_loader.py index ad8e22c3..b4f6d529 100644 --- a/test/python/test_tools_sp_wiki_loader.py +++ b/test/python/test_tools_sp_wiki_loader.py @@ -47,7 +47,7 @@ def sp_wiki_loader(monkeypatch, def_config): mock_get_wiki_content) return loader -def mock_get_wiki_content(lang): +def mock_get_wiki_content(self, lang): """ Mock the _get_wiki_content() method to return static xml test file content.