cpython/Lib/test/test_crypt.py

17 lines
352 B
Python
Raw Normal View History

from test import test_support
import unittest
1996-12-09 19:13:45 -04:00
import crypt
class CryptTestCase(unittest.TestCase):
def test_crypt(self):
c = crypt.crypt('mypassword', 'ab')
if test_support.verbose:
print 'Test encryption: ', c
def test_main():
test_support.run_unittest(CryptTestCase)
if __name__ == "__main__":
test_main()