HomeSoftware Heritage

Extract kafka-related pytest fixtures in a pytest plugin module

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Extract kafka-related pytest fixtures in a pytest plugin module

so it can be used from other packages.

  • put all fixtures as well as the 2 consume_messages() and assert_all_objects_consumed() utility functions in swh.journal.pytest_plugin,
  • move all hardcoded test data in a dedicated swh.journal.tests.journal_data module,
  • declare this new pytest_plugin via the pytest11 entry point.

Commit No Longer Exists

This commit no longer exists in the repository.