1. Kang Zhang
  2. Python Keyring Lib


Jason R. Coombs  committed 9b926d4

Expand the test slightly to ensure get_password returns something.

  • Participants
  • Parent commits 327f1bf
  • Branches default

Comments (0)

Files changed (1)

File keyring/tests/test_core.py

View file
         set_password on the default keyring is called.
-        keyring.core.get_password("test", "user")
+        result = keyring.core.get_password("test", "user")
         backend.get_password.assert_called_once_with('test', 'user')
+        assert result is not None
     def test_delete_password(self, backend):