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