add unit tests for lookup function

This commit is contained in:
Sarah Hoffmann
2023-02-01 22:59:31 +01:00
parent 370c9b38c0
commit 189f74a40d
6 changed files with 338 additions and 7 deletions

View File

@@ -155,6 +155,12 @@ class NominatimAPI:
self._loop.close()
@property
def config(self) -> Configuration:
""" Return the configuration used by the API.
"""
return self._async_api.config
def status(self) -> StatusResult:
""" Return the status of the database.
"""