How to fix pytest.PytestCollectionWarning: cannot collect test class 'Test' because it has an __init__ constructor in Python | DevErrors