浏览代码

add ~ to path

Oz N Tiram 8 年之前
父节点
当前提交
b1b1c74be4
共有 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(os.path.join("pwman", "history")),
+        self.assertEqual(os.path.expanduser(os.path.join("~pwman", "history")),
                          self.conf.get_value('Readline', 'history'))
 
     def test_has_user_db(self):