diff options
Diffstat (limited to 'lib/python2.7/test/test_crypt.py')
-rw-r--r-- | lib/python2.7/test/test_crypt.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/python2.7/test/test_crypt.py b/lib/python2.7/test/test_crypt.py new file mode 100644 index 0000000..4db200d --- /dev/null +++ b/lib/python2.7/test/test_crypt.py @@ -0,0 +1,17 @@ +from test import test_support +import unittest + +crypt = test_support.import_module('crypt') + +class CryptTestCase(unittest.TestCase): + + def test_crypt(self): + c = crypt.crypt('mypassword', 'ab') + if test_support.verbose: + print 'Test encryption: ', c + +def test_main(): + test_support.run_unittest(CryptTestCase) + +if __name__ == "__main__": + test_main() |