Revision c727ad7d
b/snf-pithos-tools/pithos/tools/test.py | ||
---|---|---|
1216 | 1216 |
def _test_maximum_upload_size_exceeds(self): |
1217 | 1217 |
name = o_names[0] |
1218 | 1218 |
meta = {'test':'test1'} |
1219 |
#upload 100MB
|
|
1220 |
length=1024*1024*100
|
|
1219 |
#upload 5GB
|
|
1220 |
length= 5 * (1024 * 1024 * 1024) + 1
|
|
1221 | 1221 |
self.assert_raises_fault(400, self.upload_random_data, self.container, |
1222 | 1222 |
name, length, **meta) |
1223 | 1223 |
|
Also available in: Unified diff