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:
d8c5368
)
test_cli: probably remove the unix-ism that broke tests on windows
author
Brian Warner
<warner@lothar.com>
Tue, 9 Apr 2013 19:09:37 +0000
(20:09 +0100)
committer
Brian Warner
<warner@lothar.com>
Tue, 9 Apr 2013 19:09:37 +0000
(20:09 +0100)
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 22886d0a202dc24fe2bc007c05f1b8c13b0615d1..658d3ce5a87bbc021d817e696fdc9f9938e66f05 100644
(file)
--- a/
src/allmydata/test/test_cli.py
+++ b/
src/allmydata/test/test_cli.py
@@
-3773,7
+3773,8
@@
class Options(unittest.TestCase):
# option after, or a basedir argument after, but none in the wrong
# place, and not more than one of the three.
o = self.parse(["start"])
- self.failUnlessEqual(o["basedir"], os.path.expanduser("~/.tahoe"))
+ self.failUnlessEqual(o["basedir"], os.path.join(os.path.expanduser("~"),
+ ".tahoe"))
o = self.parse(["start", "here"])
self.failUnlessEqual(o["basedir"], os.path.abspath("here"))
o = self.parse(["start", "--basedir", "there"])