summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2021-04-19 11:30:56 -0500
committerJordan Cook <jordan.cook@pioneer.com>2021-04-19 12:51:25 -0500
commitdd7ef7197a44688ed06356199f993161891363b2 (patch)
tree6f1a457a801e75ef4c34e09758afdc2e4868b10a /tests/conftest.py
parent1fcbe2b30e4fdd96c345b5ea488ae51d3f542273 (diff)
downloadrequests-cache-dd7ef7197a44688ed06356199f993161891363b2.tar.gz
Use pytest-order to order tests; remove ipdb recommendation
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 17dfbc7..0b3167a 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -99,7 +99,6 @@ def tempfile_session() -> CachedSession:
suppress_warnings=True,
)
yield session
- requests_cache.uninstall_cache()
@pytest.fixture(scope='function')
@@ -171,7 +170,7 @@ def fail_if_no_connection(func) -> bool:
@wraps(func)
def wrapper(*args, **kwargs):
try:
- timeout(0.5)(func)(*args, **kwargs)
+ timeout(1.0)(func)(*args, **kwargs)
except Exception as e:
logger.error(e)
pytest.fail('Could not connect to backend')