[PulseGuardian] Use PostGres and/or temporary sqlite file for tests

NEW
Unassigned

Status

P3
normal
3 years ago
3 years ago

People

(Reporter: mcote, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox46 affected)

Details

(Reporter)

Description

3 years ago
Since PulseGuardian is deployed via Heroku, it uses PostGres.  It would be useful to have the tests use PostGres to potentially catch weird db-specific errors.  We can include one in the docker container.

We should continue to support sqlite, though, for running the tests without docker.  In this case, it should use a temporary file instead of pulseguardian_test.db.
You need to log in before you can comment on or make changes to this bug.