Skip to content
Snippets Groups Projects
Commit bf35ea79 authored by David Douard's avatar David Douard
Browse files

Refactor pytest_plugins.assert_all_objects_consumed() to use model objects

instead of dicts.

This is needed because we are beginning to use converters in swh.model,
so the dict used as input is not guaranteed to be the exact same one
as the one retrieved from the journal.

For this, we need to include the data attribute in journal_data's
Content objects so we have "true" Content objects in tests.
Which then requires a few adjustments in journal tests because the
Content's data is never sent to the journal.
parent f6ab436d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment