fix for add_row() test that did not revert changes to pre-test state #31

Merged
merged 1 commit into from May 9, 2012

2 participants

@candeira

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.

@burnash
Owner

Great! Thank you Javier, that was annoying bug.

@burnash burnash merged commit 441880f into burnash:master May 9, 2012
@candeira

Guess who was the clown who introduced it...

@burnash
Owner

Ooops, I thought it was me, hehe )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment