]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/cli/test_cli.py
also switch unit tests for cli
[nominatim.git] / test / python / cli / test_cli.py
index 93e8610887a94dd501d1b4fd3a203ed417267851..d455f35e1157b3aadb53b8e715e1ab211b9deb9c 100644 (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