Revision c6ccba7e test/import-export_unittest-helper
b/test/import-export_unittest-helper | ||
---|---|---|
33 | 33 |
|
34 | 34 |
RETRY_INTERVAL = 0.1 |
35 | 35 |
TIMEOUT = int(os.getenv("TIMEOUT", 10)) |
36 |
VALIDITY = int(os.getenv("VALIDITY", 1)) |
|
36 | 37 |
|
37 | 38 |
|
38 | 39 |
def _GetImportExportData(filename): |
... | ... | |
68 | 69 |
elif what == "connected": |
69 | 70 |
WaitForConnected(filename) |
70 | 71 |
elif what == "gencert": |
71 |
utils.GenerateSelfSignedSslCert(filename, validity=1)
|
|
72 |
utils.GenerateSelfSignedSslCert(filename, validity=VALIDITY)
|
|
72 | 73 |
else: |
73 | 74 |
raise Exception("Unknown command '%s'" % what) |
74 | 75 |
|
Also available in: Unified diff