

def test_storage_to_iops_ratio(self):
    i = rds.DBInstance('NoAZAndMultiAZ', MasterUsername='myuser', MasterUserPassword='mypassword', DBInstanceClass='db.m1.small', Engine='postgres', StorageType='io1', Iops=4000, AllocatedStorage=10)
    with self.assertRaisesRegexp(ValueError, ' must be at least 100 '):
        i.JSONrepr()
    self.AllocatedStorage = 100
    with self.assertRaisesRegexp(ValueError, ' must be no less than 1/10th '):
        i.JSONrepr()
    i.AllocatedStorage = 400
    i.JSONrepr()

dataset/ETHPy150Open cloudtools/troposphere/tests/test_rds.py TestRDS.test_storage_to_iops_ratio/VarMisuse@66/128 `i`->`self`