Exemplo n.º 1
0
 def test_base_binding_auto_update_remove(self):
     t = TestTarget()
     c = ViewCollection(1,2,3,4,5,6,7,8,9,10)
     t << c
     c.remove(5)
     assert t.Values == (1,2,3,4,6,7,8,9,10)
Exemplo n.º 2
0
 def test_base_binding_auto_update_remove(self):
     t = TestTarget()
     c = ViewCollection(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
     t << c
     c.remove(5)
     assert t.Values == (1, 2, 3, 4, 6, 7, 8, 9, 10)