Add assertions to make sure that set_default_encoding_parameters is always called...
authordavid-sarah <david-sarah@jacaranda.org>
Tue, 19 Jun 2012 02:05:04 +0000 (02:05 +0000)
committerdavid-sarah <david-sarah@jacaranda.org>
Tue, 19 Jun 2012 02:05:04 +0000 (02:05 +0000)
commit196bd583b6c4959c60d3f73cdcefc9edda6a38ae
tree023432816ff339e8f5421ad74c6c9c9e76978b25
parentf86a411928367998662b5192cee8152c31409ed7
Add assertions to make sure that set_default_encoding_parameters is always called, rather than using hardcoded 3/7/10 defaults. Also update affected tests. Note that this by itself cannot fix the bug mentioned in ticket:1212#comment:41, but it might make it easier to reproduce. refs #1212
src/allmydata/immutable/upload.py
src/allmydata/test/test_encode.py
src/allmydata/test/test_upload.py