Defining the pytest-plugin though the pytest-plugin  makes it loaded by default.
This creates loading issues on modules depending on scheduler but not on
the pytest plugin scheduler exposes as explained in the doc 
Instead we'll explicitely define to modules depending on the pytest plugins in
their root conftest :
pytest_plugins = [ "swh.scheduler.pytest_plugin" ]
Note: that will fix the debian build