mozilla-releng / buildhub2

A database index of buildhub.json files built by Mozilla
https://buildhub2.readthedocs.io/
Mozilla Public License 2.0
4 stars 13 forks source link

tests should be runnable directly through pytest #1047

Open bhearsum opened 3 months ago

bhearsum commented 3 months ago

At the very least, this is not possible at the moment because they require a postgres db running. Other projects we use in-memory sqlite databases to workaround this, which is probably worth trying here.

jcristau commented 3 months ago

https://pypi.org/project/pytest-postgresql might be an option if we want to keep testing with pg.