from collections import namedtuple
import nominatim_api.v1.server_glue as glue
+from nominatim_api.v1.format import dispatch as formatting
from nominatim_api.config import Configuration
class FakeError(BaseException):
return FakeResponse(status, output, self.content_type)
- def base_uri(self) -> str:
+ def base_uri(self):
return 'http://test'
def config(self):
return self._config
+ def formatting(self):
+ return formatting
+
+