@pytest.fixture
def requests_mock():
 with _requests_mock.mock() as m:
  (yield m)

@ pytest . fixture def requests_mock ( ) : with _requests_mock . mock ( ) as m : ( yield m )
fixture to provide a requests mocker .