]> git.openstreetmap.org Git - nominatim.git/blob - test/python/tools/conftest.py
split cli tests by subcommand and extend coverage
[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=''))