mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 13:33:09 +00:00
Clarify.
This commit is contained in:
parent
ac271cfb3d
commit
edb9eda53b
@ -489,7 +489,10 @@ class ImmutableHTTPAPITests(SyncTestCase):
|
|||||||
self.assertEqual(downloaded, expected_data[offset : offset + length])
|
self.assertEqual(downloaded, expected_data[offset : offset + length])
|
||||||
|
|
||||||
def test_write_with_wrong_upload_key(self):
|
def test_write_with_wrong_upload_key(self):
|
||||||
"""A write with the wrong upload key fails."""
|
"""
|
||||||
|
A write with an upload key that is different than the original upload
|
||||||
|
key will fail.
|
||||||
|
"""
|
||||||
(upload_secret, _, storage_index, _) = self.create_upload({1}, 100)
|
(upload_secret, _, storage_index, _) = self.create_upload({1}, 100)
|
||||||
with assert_fails_with_http_code(self, http.UNAUTHORIZED):
|
with assert_fails_with_http_code(self, http.UNAUTHORIZED):
|
||||||
result_of(
|
result_of(
|
||||||
|
Loading…
Reference in New Issue
Block a user