]> git.openstreetmap.org Git - nominatim.git/blob - test/python/tools/conftest.py
f72caf378b2da15c1d470046198b2e9a29ca4d7c
[nominatim.git] / test / python / tools / conftest.py
1 import pytest
2
3 @pytest.fixture
4 def osm2pgsql_options(temp_db):
5     """ A standard set of options for osm2pgsql.
6     """
7     return dict(osm2pgsql='echo',
8                 osm2pgsql_cache=10,
9                 osm2pgsql_style='style.file',
10                 threads=1,
11                 dsn='dbname=' + temp_db,
12                 flatnode_file='',
13                 tablespaces=dict(slim_data='', slim_index='',
14                                  main_data='', main_index=''))