mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 18:37:58 +00:00
Better hint to user if database import didnt finish
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user