test_cli: probably remove the unix-ism that broke tests on windows

This commit is contained in:
Brian Warner 2013-04-09 20:09:37 +01:00
parent d8c536847b
commit 74843948d1
1 changed files with 2 additions and 1 deletions

View File

@ -3773,7 +3773,8 @@ class Options(unittest.TestCase):
# option after, or a basedir argument after, but none in the wrong # option after, or a basedir argument after, but none in the wrong
# place, and not more than one of the three. # place, and not more than one of the three.
o = self.parse(["start"]) 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"]) o = self.parse(["start", "here"])
self.failUnlessEqual(o["basedir"], os.path.abspath("here")) self.failUnlessEqual(o["basedir"], os.path.abspath("here"))
o = self.parse(["start", "--basedir", "there"]) o = self.parse(["start", "--basedir", "there"])