Staging
v0.8.1
v0.8.1
Revision 43ba3545991691403d1b4ec1d04e66053c2ddf36 authored by Éric Araujo on 01 September 2011, 01:19:30 UTC, committed by Éric Araujo on 01 September 2011, 01:19:30 UTC
1 parent 4058211
test_crypt.py
from test import support
import unittest
crypt = support.import_module('crypt')
class CryptTestCase(unittest.TestCase):
def test_crypt(self):
c = crypt.crypt('mypassword', 'ab')
if support.verbose:
print('Test encryption: ', c)
def test_main():
support.run_unittest(CryptTestCase)
if __name__ == "__main__":
test_main()
Computing file changes ...