Pytest: How to use Test Classes with inheritance, keep it DRY and still profit from pytest test discovery? I have following BaseTest class: