예제 #1
0
 def testOriginalNotEmpty(self):
     observable = patterns.ObservableSet([1, 2, 3])
     observer = patterns.SetDecorator(observable)
     self.assertEqual([1, 2, 3], observer)
예제 #2
0
 def createObservableCollection(self):
     return patterns.ObservableSet()