Added ARC2, CAST, XOR
[python-cryptoplus.git] / test / test_doctests.py
blob87e26a568c70c585ccdf379df5da98400533df26
1 #!/usr/bin/env python
3 import unittest
4 import doctest
5 #import CryptoPlus.Cipher.python_AES
6 from CryptoPlus.Cipher import python_AES, AES, python_DES, DES, python_DES3, DES3, python_Blowfish, Blowfish, python_Twofish, python_Serpent, python_Rijndael, CAST, ARC2
8 suite = unittest.TestSuite()
9 #for mod in (CryptoPlus.Cipher.python_AES,CryptoPlus.Cipher.python_AES):
10 for mod in python_AES, AES, python_DES, DES, python_DES3, DES3, python_Blowfish, Blowfish, python_Twofish, python_Serpent, python_Rijndael, CAST, ARC2:
11 suite.addTest(doctest.DocTestSuite(mod))
12 runner = unittest.TextTestRunner()
13 runner.run(suite)