Ejemplo n.º 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")
Ejemplo n.º 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")