import nominatim.api as napi
from nominatim.db.sql_preprocessor import SQLPreprocessor
+import nominatim.api.logging as loglib
class APITester:
SQLPreprocessor(temp_db_conn, testapi.api.config)\
.run_sql_file(temp_db_conn, 'functions/address_lookup.sql')
+ loglib.set_log_output('text')
yield testapi
+ print(loglib.get_and_disable())
testapi.api.close()