예제 #1
0
    def test_validate_engine(self):
        for e in rds.VALID_DB_ENGINES:
            rds.validate_engine(e)

        with self.assertRaises(ValueError):
            rds.validate_engine("bad_engine")
예제 #2
0
    def test_validate_engine(self):
        for e in rds.VALID_DB_ENGINES:
            rds.validate_engine(e)

        with self.assertRaises(ValueError):
            rds.validate_engine("bad_engine")