Oz N Tiram %!s(int64=8) %!d(string=hai) anos
pai
achega
3740c2b29a
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  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'),