From 74843948d1392ec0443f6dffa523cc35b6f1126a Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 9 Apr 2013 20:09:37 +0100 Subject: [PATCH] test_cli: probably remove the unix-ism that broke tests on windows --- src/allmydata/test/test_cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/allmydata/test/test_cli.py b/src/allmydata/test/test_cli.py index 22886d0a..658d3ce5 100644 --- 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"]) -- 2.37.2