Overriding pytest fixtures (opens in new tab) 3 articles covering this post
The pytest framework makes it easy to write small, readable tests, and can scale to support complex functional testing for applications and libraries.
Read the original article