X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4da4cbfe27a576ae011430b2de205c74435e241b..2fe8b98d557cf68a15763a762fb77d3a9522af98:/test/python/config/test_config.py diff --git a/test/python/config/test_config.py b/test/python/config/test_config.py index 5c9393ec..8f90b5da 100644 --- a/test/python/config/test_config.py +++ b/test/python/config/test_config.py @@ -140,8 +140,8 @@ def test_get_bool(make_config, monkeypatch, value, result): def test_get_bool_empty(make_config): config = make_config() - assert config.DATABASE_MODULE_PATH == '' - assert not config.get_bool('DATABASE_MODULE_PATH') + assert config.TOKENIZER_CONFIG == '' + assert not config.get_bool('TOKENIZER_CONFIG') @pytest.mark.parametrize("value,result", [('0', 0), ('1', 1), @@ -167,10 +167,10 @@ def test_get_int_bad_values(make_config, monkeypatch, value): def test_get_int_empty(make_config): config = make_config() - assert config.DATABASE_MODULE_PATH == '' + assert config.TOKENIZER_CONFIG == '' with pytest.raises(UsageError): - config.get_int('DATABASE_MODULE_PATH') + config.get_int('TOKENIZER_CONFIG') @pytest.mark.parametrize("value,outlist", [('sd', ['sd']), @@ -193,8 +193,8 @@ def test_get_str_list_empty(make_config): def test_get_path_empty(make_config): config = make_config() - assert config.DATABASE_MODULE_PATH == '' - assert not config.get_path('DATABASE_MODULE_PATH') + assert config.TOKENIZER_CONFIG == '' + assert not config.get_path('TOKENIZER_CONFIG') def test_get_path_absolute(make_config, monkeypatch):