コード例 #1
0
ファイル: __init__.py プロジェクト: 2019hripp/CompSciIA
def get_tests(config={}):
    tests = []
    from Crypto.SelfTest.Util import test_number; tests += test_number.get_tests(config=config)
    from Crypto.SelfTest.Util import test_Counter; tests += test_Counter.get_tests(config=config)
    from Crypto.SelfTest.Util import test_Padding; tests += test_Padding.get_tests(config=config)
    from Crypto.SelfTest.Util import test_strxor; tests += test_strxor.get_tests(config=config)
    return tests
コード例 #2
0
ファイル: __init__.py プロジェクト: 0xPr0xy/SSHWorm
def get_tests(config={}):
    tests = []
    if os.name == 'nt':
        from Crypto.SelfTest.Util import test_winrandom; tests += test_winrandom.get_tests(config=config)
    from Crypto.SelfTest.Util import test_number; tests += test_number.get_tests(config=config)
    from Crypto.SelfTest.Util import test_Counter; tests += test_Counter.get_tests(config=config)
    return tests
コード例 #3
0
ファイル: __init__.py プロジェクト: ruifly2012/mahjongclient
def get_tests(config={}):
    tests = []
    if os.name == 'nt':
        from Crypto.SelfTest.Util import test_winrandom
        tests += test_winrandom.get_tests(config=config)
    from Crypto.SelfTest.Util import test_number
    tests += test_number.get_tests(config=config)
    from Crypto.SelfTest.Util import test_Counter
    tests += test_Counter.get_tests(config=config)
    return tests
コード例 #4
0
def get_tests(config={}):
    tests = []
    from Crypto.SelfTest.Util import test_number
    tests += test_number.get_tests(config=config)
    from Crypto.SelfTest.Util import test_Counter
    tests += test_Counter.get_tests(config=config)
    from Crypto.SelfTest.Util import test_Padding
    tests += test_Padding.get_tests(config=config)
    from Crypto.SelfTest.Util import test_strxor
    tests += test_strxor.get_tests(config=config)
    from Crypto.SelfTest.Util import test_asn1
    tests += test_asn1.get_tests(config=config)
    from Crypto.SelfTest.Util import test_rfc1751
    tests += test_rfc1751.get_tests(config=config)
    return tests