This commit is contained in:
Steffen Fredriksen 2020-12-31 00:38:48 +01:00 committed by GitHub
parent f367f04d8d
commit 2fa4d31654
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,7 +107,7 @@ def pytest_runtest_setup(item):
@pytest.fixture(scope="session") @pytest.fixture(scope="session")
def sess(): def sess():
session = request.Session() session = requests.Session()
session.request = partial(session.request, timeout=120) session.request = partial(session.request, timeout=120)
return session return session