Example #1
0
    def test_validate_license_model(self):
        for lm in rds.VALID_LICENSE_MODELS:
            rds.validate_license_model(lm)

        with self.assertRaises(ValueError):
            rds.validate_license_model("bad_license_model")
Example #2
0
    def test_validate_license_model(self):
        for lm in rds.VALID_LICENSE_MODELS:
            rds.validate_license_model(lm)

        with self.assertRaises(ValueError):
            rds.validate_license_model("bad_license_model")