X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/37afa2180b39a8c33092ef9f9424fcf70843e47e..7beccb7997fd4cda150a66c07b33a43b111ebe9d:/test/python/cli/test_cli.py?ds=inline diff --git a/test/python/cli/test_cli.py b/test/python/cli/test_cli.py index f4878b61..dbe17083 100644 --- a/test/python/cli/test_cli.py +++ b/test/python/cli/test_cli.py @@ -93,9 +93,12 @@ class TestCli: assert func.called == 1 -@pytest.mark.parametrize("params", [('search', '--query', 'new'), - ('reverse', '--lat', '0', '--lon', '0'), - ('lookup', '--id', 'N1'), +@pytest.mark.parametrize("params", [('search', '--query', 'new', '--polygon-output', 'svg', '--polygon-threshold', '0.1'), + ('search', '--city', 'Berlin', '--format', 'xml', '--lang', 'de'), + ('reverse', '--lat', '0', '--lon', '0', + '--polygon-output', 'svg', '--polygon-threshold', '0.1', '--format', 'json', '--lang', 'en'), + ('lookup', '--id', 'N1', + '--polygon-output', 'svg', '--polygon-threshold', '0.1', '--format', 'json', '--lang', 'en'), ('details', '--node', '1'), ('details', '--way', '1'), ('details', '--relation', '1'),