]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/cli/test_cli.py
Merge pull request #2829 from lonvia/optimize-indexes
[nominatim.git] / test / python / cli / test_cli.py
index e8e185049a15ba46f5672f4c397e83845d15e615..07d6c31fded55d7adc57bed1192b56f1e8ff2858 100644 (file)
@@ -29,7 +29,7 @@ def test_cli_help(cli_call, capsys):
 def test_cli_version(cli_call, capsys):
     """ Running nominatim tool --version prints a version string.
     """
-    assert cli_call('--version') == 1
+    assert cli_call('--version') == 0
 
     captured = capsys.readouterr()
     assert captured.out.startswith('Nominatim version')