mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 02:47:59 +00:00
also switch unit tests for cli
This commit is contained in:
@@ -63,7 +63,7 @@ def test_cli_add_data_tiger_data(cli_call, cli_tokenizer_mock, mock_func_factory
|
||||
def test_cli_serve_php(cli_call, mock_func_factory):
|
||||
func = mock_func_factory(nominatim.cli, 'run_php_server')
|
||||
|
||||
cli_call('serve') == 0
|
||||
cli_call('serve', '--engine', 'php') == 0
|
||||
|
||||
assert func.called == 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user