kennethreitz/tablib — Issue #54: Can't update a field
Author: harmv
Created: 2012-02-08 13:32:51+00:00
State: open

Updating a field fails silently.
It should either work, or fail loudly

how to reproduce
-----------------------

```python
import tablib

headers = ('h1', 'h2')
data = tablib.Dataset(headers=headers)
data.append(('foo', 'bar'))
data.append(('foo2', 'bar2'))

data['h1'][1] = 'new' # update a single cell
assert data['h1'][1] == 'new', "error still contains %s" % data['h1'][1]
```
result
--------
The update does not barf, but doesn't work either.

>Traceback (most recent call last):
>File "taglib.py", line 10, in
> assert data['h1'][1] == 'new', "error still contains %s" % data['h1'][1]
>AssertionError: error still contains foo2'''

expected result
---------------------
cell is updated or tablib refuses the assignment.