burnash/gspread — pull request #31 by candeira (2012-05-07 02:20:26+00:00)
Title: fix for add_row() test that did not revert changes to pre-test state

The test for add_row() does not revert changes to the pre-test state.

Reproducing the bug consists of running twice in succession the following test:

$ nosetests -x -s tests/test.py:WorksheetTest.test_properties

It should always fail the second time, since the test spreadsheet has now one line and four columns more than before.

Patch attached.