def test_check_database_unknown_db(def_config, monkeypatch):
    monkeypatch.setenv('NOMINATIM_DATABASE_DSN',
                       'pgsql:dbname=fjgkhughwgh2423gsags')
    assert 1 == chkdb.check_database(def_config)
def test_check_database_fatal_test(def_config, temp_db):
    assert 1 == chkdb.check_database(def_config)