def test_with_promotable_id(self): self.assert_message( messages.CannotBanResourceMasterResourceNotPromotable("R", "P"), ( "when specifying --promoted you must use the promotable clone " "id (P)" ), )
def test_without_promotable_id(self): self.assert_message( messages.CannotBanResourceMasterResourceNotPromotable("R"), "when specifying --promoted you must use the promotable clone id", )