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")