X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/66ecb56cead429af78ac411654450b807852a06c..78648f1fafd66d851681991a2050595e77850bd7:/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