Seed Python random generator on start.

This commit is contained in:
Andrey Smirnov
2015-05-28 11:40:11 +03:00
parent 78b6d6ca7b
commit 0f328ec1fe

View File

@@ -7,6 +7,7 @@ import inspect
import fnmatch
import sys
import traceback
import random
from lib import BaseTest
from s3_lib import S3Test
@@ -98,6 +99,7 @@ def run(include_long_tests=False, capture_results=False, tests=None, filters=Non
if __name__ == "__main__":
os.chdir(os.path.realpath(os.path.dirname(sys.argv[0])))
random.seed()
include_long_tests = False
capture_results = False
tests = None