Browse Source

add ~ to path

Oz N Tiram 8 năm trước cách đây
mục cha
commit
b1b1c74be4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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):