]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_crypt.py
EmbeddedPkg: Extend NvVarStoreFormattedLib LIBRARY_CLASS
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / test / test_crypt.py
CommitLineData
4710c53d 1from test import test_support\r
2import unittest\r
3\r
4crypt = test_support.import_module('crypt')\r
5\r
6class CryptTestCase(unittest.TestCase):\r
7\r
8 def test_crypt(self):\r
9 c = crypt.crypt('mypassword', 'ab')\r
10 if test_support.verbose:\r
11 print 'Test encryption: ', c\r
12\r
13def test_main():\r
14 test_support.run_unittest(CryptTestCase)\r
15\r
16if __name__ == "__main__":\r
17 test_main()\r