瀏覽代碼

Fix windows paths

Oz N Tiram 8 年之前
父節點
當前提交
b4334e31ec
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/test_config.py

+ 1 - 1
tests/test_config.py

@@ -64,7 +64,7 @@ class TestConfig(unittest.TestCase):
     #                                                     'algorithm'))
 
     def test_has_user_history(self):
-        self.assertEqual(os.path.expanduser('~/.pwman/history'),
+        self.assertEqual(os.path.expanduser(os.path.join("pwman", "history")),
                          self.conf.get_value('Readline', 'history'))
 
     def test_has_user_db(self):