Commits

Jason R. Coombs committed 9b926d4

Expand the test slightly to ensure get_password returns something.

  • Participants
  • Parent commits 327f1bf

Comments (0)

Files changed (1)

File keyring/tests/test_core.py

         """
         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
 
     @mock_global_backend
     def test_delete_password(self, backend):