

def test_validate_backup_retention_period(self):
    for d in (1, 10, 15, 35):
        rds.validate_backup_retention_period(d)
    with self.assertRaisesRegexp(ValueError, ' cannot be larger than 35 '):
        rds.validate_backup_retention_period(40)
    rds.validate_backup_retention_period(10)

dataset/ETHPy150Open cloudtools/troposphere/tests/test_rds.py TestRDSValidators.test_validate_backup_retention_period/original