blob: aa07f495dba66f99427ca3deb305a7a33b250a29 [file] [log] [blame]
Christian Heimesdd15f6c2008-03-16 00:07:10 +00001from test import test_support
2import unittest
Roger E. Masse75362381996-12-09 23:13:45 +00003import crypt
Roger E. Massefab8ab81996-12-20 22:36:52 +00004
Christian Heimesdd15f6c2008-03-16 00:07:10 +00005class CryptTestCase(unittest.TestCase):
6
7 def test_crypt(self):
8 c = crypt.crypt('mypassword', 'ab')
9 if test_support.verbose:
10 print('Test encryption: ', c)
11
12def test_main():
13 test_support.run_unittest(CryptTestCase)
14
15if __name__ == "__main__":
16 test_main()