Explorar o código

add one more test

oz123 %!s(int64=11) %!d(string=hai) anos
pai
achega
f2add434ab
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      pwman/tests/db_tests.py

+ 10 - 0
pwman/tests/db_tests.py

@@ -122,3 +122,13 @@ class CLITests(unittest.TestCase):
         password = self.tester.cli.get_password(None,
                                                 reader=lambda x: 'hatman')
         self.assertEqual(password, 'hatman')
+
+    def test_get_url(self):
+        url = self.tester.cli.get_url(reader=lambda: 'example.com')
+        self.assertEqual(url, 'example.com')
+
+    def test_get_notes(self):
+        pass
+
+    def test_get_tags(self):
+        pass