-def test_load_file_simple(sql_preprocessor, sql_factory, temp_db_conn, temp_db_cursor, expr, ret):
+def test_load_file_simple(sql_preprocessor_cfg, sql_factory,
+ temp_db_conn, temp_db_cursor, monkeypatch,
+ expr, ret):
+ monkeypatch.setenv('NOMINATIM_TABLESPACE_SEARCH_DATA', 'dsearch')
+ monkeypatch.setenv('NOMINATIM_TABLESPACE_ADDRESS_INDEX', 'iaddress')
+ monkeypatch.setenv('NOMINATIM_TABLESPACE_AUX_DATA', 'daux')