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