projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32b5bc6
)
test_cli.py: Ensure that we can read our uploaded files back
author
francois
<francois@ctrlaltdel.ch>
Fri, 14 Nov 2008 14:44:58 +0000
(07:44 -0700)
committer
francois
<francois@ctrlaltdel.ch>
Fri, 14 Nov 2008 14:44:58 +0000
(07:44 -0700)
src/allmydata/test/test_cli.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_cli.py
b/src/allmydata/test/test_cli.py
index fb3edb05410e4b0308c74b122a5b9f47e98d9906..6eed4ba0b5385197e7dcebd72ab645486cf436f5 100644
(file)
--- a/
src/allmydata/test/test_cli.py
+++ b/
src/allmydata/test/test_cli.py
@@
-566,4
+566,10
@@
class Cp(SystemTestMixin, CLITestMixin, unittest.TestCase):
d.addCallback(lambda res: self.do_cli("cp", fn1, "tahoe:"))
d.addCallback(lambda res: self.do_cli("cp", fn2, "tahoe:"))
+ d.addCallback(lambda res: self.do_cli("get", "tahoe:Ärtonwall"))
+ d.addCallback(lambda (out,err): self.failUnlessEqual(out, DATA1))
+
+ d.addCallback(lambda res: self.do_cli("get", "tahoe:Metallica"))
+ d.addCallback(lambda (out,err): self.failUnlessEqual(out, DATA2))
+
return d