'Edit a callback when validation isn\'t automatic.'

def test_edit_validation(self):

    author = self.char1
    self.handler.add_callback(self.room1, 'dummy', 'character.db.strength    =    70', author=author, valid=True)
    self.handler.edit_callback(self.room1, 'dummy', 0, 'character.db.strength    =    80', author=self.char2, valid=False)
    self.char1.db.strength = 10
    locals = {'character': self.char1}
    self.assertTrue(self.handler.call(self.room1, 'dummy', locals=locals))
    self.assertEqual(self.char1.db.strength, 10)
