Exemplo n.º 1
0
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
Exemplo n.º 2
0
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