blob: 4db200d4031b740764867b62bffe184dc99ed0ba [file] [log] [blame]
Brett Cannon2e0f9f32008-03-13 20:47:41 +00001from test import test_support
2import unittest
R. David Murray59beec32009-03-30 19:04:00 +00003
4crypt = test_support.import_module('crypt')
Roger E. Massefab8ab81996-12-20 22:36:52 +00005
Brett Cannon2e0f9f32008-03-13 20:47:41 +00006class CryptTestCase(unittest.TestCase):
7
8 def test_crypt(self):
9 c = crypt.crypt('mypassword', 'ab')
10 if test_support.verbose:
11 print 'Test encryption: ', c
12
13def test_main():
14 test_support.run_unittest(CryptTestCase)
15
16if __name__ == "__main__":
17 test_main()