def testChangeTrackerIgnoresRemovalsFromOtherCollections(self): secondCollection = base.Collection() secondCollection.append(self.object) self.collection.append(self.object) secondCollection.remove(self.object) self.failUnless(self.tracker.added())
def setUp(self): self.collection = base.Collection() self.tracker = base.ChangeTracker(self.collection) self.object = base.CompositeObject()
def testChangeTrackerIgnoresAdditionsToOtherCollections(self): secondCollection = base.Collection() secondCollection.append(self.object) self.failIf(self.tracker.added())
def setUp(self): self.collection = base.Collection()