瀏覽代碼

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()