Page MenuHomeSoftware Heritage

swh.journal.publisher: Process snapshots
ClosedPublic

Authored by ardumont on Oct 26 2018, 6:58 PM.

Details

Summary

As a first commit, i updated the publisher's docstring.

Related T1275

Test Plan

tox

Diff Detail

Repository
rDJNL Journal infrastructure
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

And i miss at least one basic test on the snapshot insertion...

swh/journal/publisher.py
138

Here is what i meant about missing origin.
Not on the storage.listener, on the journal.publisher (not sure i was clear).

And i miss at least one basic test on the snapshot insertion...

  • swh.journal.tests: Add process snapshot scenario

Done ;)

This revision is now accepted and ready to land.Nov 6 2018, 11:52 AM
This revision was automatically updated to reflect the committed changes.