Better hint to user if database import didnt finish

This commit is contained in:
marc tobias
2025-07-30 02:26:22 +02:00
parent 866e6bade9
commit 9bad3b1e61
3 changed files with 21 additions and 20 deletions

View File

@@ -31,6 +31,10 @@ def test_check_connection_bad(def_config):
assert chkdb.check_connection(badconn, def_config) == chkdb.CheckState.FATAL
def test_check_database_version_not_found(property_table, temp_db_conn, def_config):
assert chkdb.check_database_version(temp_db_conn, def_config) == chkdb.CheckState.FATAL
def test_check_database_version_good(property_table, temp_db_conn, def_config):
property_table.set('database_version',
str(nominatim_db.version.NOMINATIM_VERSION))