]> git.openstreetmap.org Git - nominatim.git/commit
improve scaffolding for API unit tests
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 1 Feb 2023 09:22:53 +0000 (10:22 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 4 Feb 2023 20:22:22 +0000 (21:22 +0100)
commit370c9b38c096468abb84fa29f605843cdeb9f93e
tree5db143b91c35057a4a9bba28878c3032d3389108
parentdf65c10360344f2deb01bbe0536c8b2bc1657fb4
improve scaffolding for API unit tests

Use the static table definition to create the test database.
Add helper function to simplify filling the tables.
test/python/api/conftest.py
test/python/api/test_api_status.py