Exemplo n.º 1
0
def get_tests(config={}):
    tests = []
    if os.name == 'nt':
        import test_winrandom; tests += test_winrandom.get_tests(config=config)
    import test_number; tests += test_number.get_tests(config=config)
    import test_Counter; tests += test_Counter.get_tests(config=config)
    return tests
Exemplo n.º 2
0
def get_tests():
    tests = []
    if os.name == 'nt':
        import test_winrandom
        tests += test_winrandom.get_tests()
    import test_number
    tests += test_number.get_tests()
    return tests
Exemplo n.º 3
0
def get_tests(config={}):
    tests = []
    if os.name == 'nt':
        import test_winrandom
        tests += test_winrandom.get_tests(config=config)
    import test_number
    tests += test_number.get_tests(config=config)
    import test_Counter
    tests += test_Counter.get_tests(config=config)
    return tests
Exemplo n.º 4
0
def get_tests(config={}):
    tests = []
    if os.name == 'nt':
        import test_nt;        tests += test_nt.get_tests(config=config)
        import test_winrandom; tests += test_winrandom.get_tests(config=config)
    elif os.name == 'posix':
        import test_posix;     tests += test_posix.get_tests(config=config)
    if hasattr(os, 'urandom'):
        import test_fallback;      tests += test_fallback.get_tests(config=config)
    import test_generic;       tests += test_generic.get_tests(config=config)
    return tests
Exemplo n.º 5
0
def get_tests(config={}):
    tests = []
    if os.name == 'nt':
        import test_nt
        tests += test_nt.get_tests(config=config)
        import test_winrandom
        tests += test_winrandom.get_tests(config=config)
    elif os.name == 'posix':
        import test_posix
        tests += test_posix.get_tests(config=config)
    if hasattr(os, 'urandom'):
        import test_fallback
        tests += test_fallback.get_tests(config=config)
    import test_generic
    tests += test_generic.get_tests(config=config)
    return tests