]> git.openstreetmap.org Git - nominatim.git/commitdiff
also switch unit tests for cli
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 16 Feb 2024 10:17:43 +0000 (11:17 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 19 Feb 2024 17:39:01 +0000 (18:39 +0100)
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