def test_update1( self ): b = MutableDict( {'a':1,'b':2} ) b.update( [('a',3),('c',4)] ) self.assertEqual( b.changed_keys(), ('a',) )
def test_update1( self ): b = MutableDict( {'a':1,'b':2} ) other = { 'a':3,'c':4 } b.update(other) self.assertEqual( b.changed_keys(), ('a',) )