qblox_scheduler.helpers.time#
Python time wrapper functions.
These function help to make time dependent modules testable.
Functions#
Module Contents#
- get_time() float[source]#
Return the time in seconds since the epoch as a floating point number.
Acts as a wrapper around
time.time()in order to make it testable. Mocking time.time() can conflicts with the internal python ticker thread.- Returns:
: Time since epoch