Test wrong number of arguments to set_notBefore and friends
diff --git a/test/test_crypto.py b/test/test_crypto.py
index 9a87565..bb342c1 100644
--- a/test/test_crypto.py
+++ b/test/test_crypto.py
@@ -917,6 +917,11 @@
         # An invalid string results in a ValueError
         self.assertRaises(ValueError, set, "foo bar")
 
+        # The wrong number of arguments results in a TypeError.
+        self.assertRaises(TypeError, set)
+        self.assertRaises(TypeError, set, "20040203040506Z", "20040203040506Z")
+        self.assertRaises(TypeError, get, "foo bar")
+
 
     def test_set_notBefore(self):
         """