Jason R. Coombs committed 3e97880

Skip more tests for the same reason

Comments (0)

Files changed (1)


 class CoreTestCase(unittest.TestCase):
-    @unittest.skip("the default keyring might be a keyring "
+    skip_arbitrary_keyring = unittest.skip("the default keyring might be a "
+        "keyring "
         "which requires input (such as file.EncryptedKeyring), "
         "in which case the test blocks forever. TODO: patch rawinput "
         "to supply a password.")
+    @skip_arbitrary_keyring
     def test_set_get_password(self):
         set/get_password on the default keyring.
         keyring.core.set_password("test", "user", "passtest")
         self.assertEqual(keyring.core.get_password("test", "user"), "passtest")
+    @skip_arbitrary_keyring
     def test_delete_password_present(self):
         keyring.core.set_password("test", "user", "passtest")
         keyring.core.delete_password("test", "user")
         self.assertTrue(keyring.core.get_password("test", "user") is None)
+    @skip_arbitrary_keyring
     def test_delete_password_not_present(self):
             keyring.core.delete_password, "test", "user")