@pytest.yield_fixture(scope='function')
def client(app):
    yield app.test_client()
Setup an app client, this gets executed for each test function.
dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/catwatch/tests/conftest.py/client