X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/261e0cfd5a084dc5de333eda1093a9e7635c4859..11ced26025fc5db0b5085b9b5abb012266ea2aef:/test/python/api/fake_adaptor.py diff --git a/test/python/api/fake_adaptor.py b/test/python/api/fake_adaptor.py index 1db8c725..d886d34e 100644 --- a/test/python/api/fake_adaptor.py +++ b/test/python/api/fake_adaptor.py @@ -43,10 +43,13 @@ class FakeAdaptor(glue.ASGIAdaptor): return FakeError(msg, status) - def create_response(self, status, output): + def create_response(self, status, output, num_results): return FakeResponse(status, output, self.content_type) + def base_uri(self) -> str: + return 'http://test' + def config(self): return self._config