HomeSoftware Heritage

pytest_plugin: remove '.swh.journal.objects' from test_config fixture

Description

pytest_plugin: remove '.swh.journal.objects' from test_config fixture

This induces a tigh coupling with code from other packages that use this
fixture (e.g. swh.storage currently have to modify the kafka_prefix resulting
from the fixture so the consumer and the writer are in sync).

If someone wants a customized version of a kafka_prefix, it must be done by
overriding the kafka_prefix fixture, not by modifying its returned value.

Note that this commit will break swh.storage.tests.test_kafka_writer until
it is updated.

Details

Provenance
douarddaAuthored on May 6 2020, 5:02 PM
douarddaPushed on May 7 2020, 9:33 AM
Differential Revision
D3130: Refactor the pytest_plugin
Parents
rDJNL302050a6254c: test: replace usage of a strategy .example() by a hardcoded value
Branches
Unknown
Tags
Unknown
Build Status
Buildable 12299
Build 18654: test-and-buildJenkins console · Jenkins