Skip to content

Commit e552533

Browse files
committed
chore: bump expired cassettes from 180 days to 365
1 parent d3f792b commit e552533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def pytest_sessionfinish(session, exitstatus):
4545

4646

4747
@pytest.fixture(autouse=True)
48-
def check_expired_cassettes(expiration_days: int = 180, throw_error: bool = False):
48+
def check_expired_cassettes(expiration_days: int = 365, throw_error: bool = False):
4949
"""Checks for expired cassettes and throws errors if they are too old and must be re-recorded."""
5050
test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] # type: ignore
5151
cassette_filepath = os.path.join("tests", "cassettes", f"{test_name}.yaml")

0 commit comments

Comments
 (0)