def edit_description(self, new_description, *items): edit_subject = command.EditDescriptionCommand(self.container, items, newValue=new_description) edit_subject.do()
def testItemsAreNotNew(self): self.failIf( command.EditDescriptionCommand( self.container, [], newValue='New description').items_are_new())
def onEditDescription(self, item, newValue): command.EditDescriptionCommand(items=[item], newValue=newValue).do()