mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-01 00:45:52 +00:00
test that we can also download the mutable
This commit is contained in:
parent
2d23e2e640
commit
e6ef45d337
@ -268,6 +268,11 @@ class Put(GridTestMixin, CLITestMixin, unittest.TestCase):
|
|||||||
(writekey, fingerprint),
|
(writekey, fingerprint),
|
||||||
(cap.writekey, cap.fingerprint),
|
(cap.writekey, cap.fingerprint),
|
||||||
)
|
)
|
||||||
|
# Also the capability we were given actually refers to the data we
|
||||||
|
# uploaded.
|
||||||
|
(rc, out, err) = await self.do_cli("get", out.strip())
|
||||||
|
self.assertEqual(rc, 0, (out, err))
|
||||||
|
self.assertEqual(out, datapath.getContent().decode("ascii"))
|
||||||
|
|
||||||
def test_mutable(self):
|
def test_mutable(self):
|
||||||
# echo DATA1 | tahoe put --mutable - uploaded.txt
|
# echo DATA1 | tahoe put --mutable - uploaded.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user