

def test_io1_storage_type_and_iops(self):
    i = rds.DBInstance('NoAZAndMultiAZ', MasterUsername='myuser', MasterUserPassword='mypassword', AllocatedStorage=10, DBInstanceClass='db.m1.small', Engine='postgres', StorageType='io1')
    with self.assertRaisesRegexp(ValueError, 'Must specify Iops if '):
        i.JSONrepr()

dataset/ETHPy150Open cloudtools/troposphere/tests/test_rds.py TestRDS.test_io1_storage_type_and_iops/original