[tor-commits] [bridgedb/master] Change a test_crypto class name and add a docstring.

isis at torproject.org isis at torproject.org
Sun Mar 16 19:04:57 UTC 2014


commit e89059d9d4741c63d73d7a49eff1856d87a4a7e9
Author: Isis Lovecruft <isis at torproject.org>
Date:   Tue Mar 4 04:34:37 2014 +0000

    Change a test_crypto class name and add a docstring.
---
 lib/bridgedb/test/test_crypto.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/bridgedb/test/test_crypto.py b/lib/bridgedb/test/test_crypto.py
index 2e6894e..cc1ee9a 100644
--- a/lib/bridgedb/test/test_crypto.py
+++ b/lib/bridgedb/test/test_crypto.py
@@ -24,7 +24,8 @@ SEKRIT_KEY  = b'v\x16Xm\xfc\x1b}\x063\x85\xaa\xa5\xf9\xad\x18\xb2P\x93\xc6k\xf9'
 SEKRIT_KEY += b'\x8bI\xd9\xb8xw\xf5\xec\x1b\x7f\xa8'
 
 
-class CryptoTest(unittest.TestCase):
+class GetKeyTests(unittest.TestCase):
+    """Tests for :func:`bridgedb.crypto.getKey`."""
 
     def test_getKey_nokey(self):
         """Test retrieving the secret_key from an empty file."""





More information about the tor-commits mailing list