]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/config/test_config_load_module.py
enable flake for Python tests
[nominatim.git] / test / python / config / test_config_load_module.py
index c29121802c2dd69291a97dd8042502a7dc159873..309bd1fc325850c1be2bf5254a5557a49d5bcf5b 100644 (file)
@@ -2,18 +2,18 @@
 #
 # This file is part of Nominatim. (https://nominatim.org)
 #
-# Copyright (C) 2024 by the Nominatim developer community.
+# Copyright (C) 2025 by the Nominatim developer community.
 # For a full list of authors see the git log.
 """
 Test for loading extra Python modules.
 """
-from pathlib import Path
 import sys
 
 import pytest
 
 from nominatim_db.config import Configuration
 
+
 @pytest.fixture
 def test_config(src_dir, tmp_path):
     """ Create a configuration object with project and config directories
@@ -31,6 +31,7 @@ def test_load_default_module(test_config):
 
     assert isinstance(module.NOMINATIM_VERSION, tuple)
 
+
 def test_load_default_module_with_hyphen(test_config):
     module = test_config.load_plugin_module('place-info', 'nominatim_db.data')