HomeSoftware Heritage

Rewrite updater/test_backend.py with pytest and use the postgresql fixture

Description

Rewrite updater/test_backend.py with pytest and use the postgresql fixture

also implement the test with more precise expected behavior, especially the
content pre-aggregation of events and the url stripping.

As is, this test will fail, the pre-aggregation and url stripping being
implemented in the following revision.

Details

Provenance
douarddaAuthored on Jan 29 2019, 3:34 PM
douarddaPushed on Jan 30 2019, 11:54 AM
Parents
rDSCHebee014ab868: Kill DbBackend class
Branches
Unknown
Tags
Unknown
Build Status
Buildable 3856
Build 5048: test-and-build