]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/api/fake_adaptor.py
Merge pull request #3342 from mtmail/tyops
[nominatim.git] / test / python / api / fake_adaptor.py
index 1db8c72580a4baa3da1af9480549dda86b9449c0..d886d34e20f89057fdcca2b82e263c6e7e1c65fd 100644 (file)
@@ -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