]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/api/test_server_glue_v1.py
configurable error formatting and content type in result formatter
[nominatim.git] / test / python / api / test_server_glue_v1.py
index 80cd51a31bd2cfaceef4ffec3af376da88e5133d..5ef169045e0a4712c256bf38d2634a4bbae6e146 100644 (file)
@@ -127,7 +127,7 @@ class TestAdaptorRaiseError:
         err = self.run_raise_error('TEST', 404)
 
         assert self.adaptor.content_type == 'text/plain; charset=utf-8'
-        assert err.msg == 'TEST'
+        assert err.msg == 'ERROR 404: TEST'
         assert err.status == 404