cubicweb #17261722 Use pytest fixtures in tests for DI instead of inheriting CubicwebTC [open]

Pytest fixtures are a great way to write tests with less dependencies, thus narrowing their scope.

prioritynormal
typeenhancement
done in<not specified>
closed by<not specified>