Create time tools

Change-Id: Id19494b9d66dc9a3f4d3d50ba981c0522d544ae4
This commit is contained in:
Federico Ressi
2020-07-24 10:06:21 +02:00
parent fe25bf5cab
commit 23dd723834
5 changed files with 232 additions and 5 deletions

View File

@@ -26,6 +26,7 @@ from tobiko.common import _os
from tobiko.common import _select
from tobiko.common import _skip
from tobiko.common import _testcase
from tobiko.common import _time
from tobiko.common import _utils
@@ -98,6 +99,13 @@ pop_test_case = _testcase.pop_test_case
push_test_case = _testcase.push_test_case
TestCasesManager = _testcase.TestCasesManager
Seconds = _time.Seconds
SecondsValueError = _time.SecondsValueError
sleep = _time.sleep
time = _time.time
to_seconds = _time.to_seconds
to_seconds_float = _time.to_seconds_float
get_short_hostname = _utils.get_short_hostname
from tobiko import config # noqa