@pytest.fixture
def response():
    'Sample pytest fixture.\n\n    See more at: http://doc.pytest.org/en/latest/fixture.html\n    '
    import requests
    return requests.get('https://github.com/torvalds/linux')
Sample pytest fixture.

See more at: http://doc.pytest.org/en/latest/fixture.html
@pytest.fixture
def response():
    'Sample pytest fixture.\n\n    See more at: http://doc.pytest.org/en/latest/fixture.html\n    '
    import requests
    return requests.get('https://github.com/torvalds/linux')