Staging
v0.8.1
Revision 841f7ed05224bb54f0a3d943dd5168044ba49bc6 authored by Barry Warsaw on 16 August 2010, 22:58:03 UTC, committed by Barry Warsaw on 16 August 2010, 22:58:03 UTC
1 parent 69e266c
Raw File
test_crypt.py
from test import test_support
import unittest
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()
back to top