Skip to content

test_api_client: refactor the code for new pytest based infra

This uses the latest pytest fixtures added in swh.core to define a swh_storage fixture that setup a RPC client/server stack to execute tests defined in classes TestStorage and TestStorageGeneratedData (from swh.storage.tests.test_storage).

Test Plan

all tests should now pass using pytest


Migrated from D2119 (view on Phabricator)

Merge request reports