Ejemplo n.º 1
0
 def test_raise_assign_to_non_existent_field(self):
     with pytest.raises(AttributeError):
         u = User()
         u.foo = 'bar'