Преглед на файлове

Testing: add actual database write

oz123 преди 11 години
родител
ревизия
c189d4b976
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      pwman/tests/db_tests.py

+ 1 - 0
pwman/tests/db_tests.py

@@ -300,6 +300,7 @@ class CLITests(unittest.TestCase):
         s = StringIO.StringIO("4\nX")
         sys.stdin = s
         menu.run(node)
+        self.tester.cli._db.editnode(2, node)
 
     def test_get_pass_conf(self):
         numerics, leet, s_chars = get_pass_conf()