blob: f6f3a8171edc799a58b5eb9e06d0d99777782276 [file] [log] [blame]
Brett Cannon2e0f9f32008-03-13 20:47:41 +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
Brett Cannon2e0f9f32008-03-13 20:47:41 +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()