GIScience / ohsome-quality-api

Data quality estimations for OpenStreetMap
https://api.quality.ohsome.org
GNU Affero General Public License v3.0
35 stars 7 forks source link

Add integration tests with database connection #814

Open matthiasschaub opened 3 weeks ago

matthiasschaub commented 3 weeks ago

Currently, tests are mocking every database connection or are skipped (pytest.mark.skip in test_geodatabase.py). In order to cleanup database-access-related code (especially avoid having 2 different persistence libraries), the geo-database tests have to be reactivated first.

Tasks:

Blocks https://github.com/GIScience/ohsome-quality-api/issues/746

mmerdes commented 3 weeks ago

@joker234 It would be great if we could try to run the Jenkins build outside Docker some time as this would enable using the test containers library.

joker234 commented 3 weeks ago

@joker234 It would be great if we could try to run the Jenkins build outside Docker some time as this would enable using the test containers library.

see PR #817