We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3f792b commit e552533Copy full SHA for e552533
tests/conftest.py
@@ -45,7 +45,7 @@ def pytest_sessionfinish(session, exitstatus):
45
46
47
@pytest.fixture(autouse=True)
48
-def check_expired_cassettes(expiration_days: int = 180, throw_error: bool = False):
+def check_expired_cassettes(expiration_days: int = 365, throw_error: bool = False):
49
"""Checks for expired cassettes and throws errors if they are too old and must be re-recorded."""
50
test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] # type: ignore
51
cassette_filepath = os.path.join("tests", "cassettes", f"{test_name}.yaml")
0 commit comments