also switch unit tests for cli

This commit is contained in:
Sarah Hoffmann
2024-02-16 11:17:43 +01:00
parent 173e85c9e6
commit 1e0025b095

View File

@@ -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