Example #1
0
 def test_set(self):
     """ using the set() method """
     r = CoreRegistry()
     r.set('a', 'b')
     assert r.a == 'b'
Example #2
0
 def test_setattr(self):
     """ attribute assignment """
     r = CoreRegistry()
     r.a = 'b'
     assert r.a == 'b'