]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/cli/test_cli.py
Correct some typos
[nominatim.git] / test / python / cli / test_cli.py
index 93e8610887a94dd501d1b4fd3a203ed417267851..998bccb434c418eeaa076995f851a0cbaeab8ba9 100644 (file)
@@ -8,7 +8,7 @@
 Tests for command line interface wrapper.
 
 These tests just check that the various command line parameters route to the
-correct functionionality. They use a lot of monkeypatching to avoid executing
+correct functionality. They use a lot of monkeypatching to avoid executing
 the actual functions.
 """
 import importlib
@@ -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