hmpf / easydmp

MIT License
7 stars 2 forks source link

Tests for optional sections fail when testing on Postgres #152

Closed hmpf closed 3 years ago

hmpf commented 3 years ago

I suspect this is due to how the factories for sections and templates work. Making them more robust and less dependent on each other is not a small undertaking as everywhere they are used, they must be adjusted.

hmpf commented 3 years ago

BTW, it is now possible to test on postgres with tox by setting TEST_DATABASE_URL. With the current test runner, this will create a new database on the same cluster, which will be dropped after the test run is finished.