Oz N Tiram 8 lat temu
rodzic
commit
3740c2b29a
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3 2
      tests/test_config.py

+ 3 - 2
tests/test_config.py

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