Example #1
0
 def testCreateWithInitialContent(self):
     collection = patterns.CompositeList([self.composite])
     self.assertEqual([self.composite], collection)
Example #2
0
 def setUp(self):
     self.composite = patterns.ObservableComposite()
     self.composite2 = patterns.ObservableComposite()
     self.collection = patterns.CompositeList()