]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_cli: probably remove the unix-ism that broke tests on windows
authorBrian Warner <warner@lothar.com>
Tue, 9 Apr 2013 19:09:37 +0000 (20:09 +0100)
committerBrian Warner <warner@lothar.com>
Tue, 9 Apr 2013 19:09:37 +0000 (20:09 +0100)
src/allmydata/test/test_cli.py

index 22886d0a202dc24fe2bc007c05f1b8c13b0615d1..658d3ce5a87bbc021d817e696fdc9f9938e66f05 100644 (file)
@@ -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"])