How to resolve "PytestDeprecationWarning: pytest.config global is deprecated
Simply pass request
as an argument to your fixture and replace references to pytest.config
in your fixture body with request.config
.
Simply pass request
as an argument to your fixture and replace references to pytest.config
in your fixture body with request.config
.