Exemple #1
0
 def test_getitem_gets_attributes(self):
     f = Form()
     f.x = 1
     f.y20 = 'Two'
     assert f['x'] == 1
     assert f['y', 20] == 'Two'