source: python/trunk/Lib/test/test_crypt.py

Last change on this file was 391, checked in by dmik, 11 years ago

python: Merge vendor 2.7.6 to trunk.

  • Property svn:eol-style set to native
File size: 384 bytes
Line 
1from test import test_support
2import unittest
3
4crypt = test_support.import_module('crypt')
5
6class 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()
Note: See TracBrowser for help on using the repository browser.