arjuna.tpi.helper.audit module

class arjuna.tpi.helper.audit.HardCoded

Bases: object

It’s sole purpose is to increase responsbility of test author when there is a need for time.sleep

classmethod sleep(why: str, seconds: float) None

Fixed/Static sleep.

Logs a warning message mentioning the caller, reason and number of seconds. :param why: Reason for using static wait instead of dynamic waits that Arjuna provides. :param seconds: Number of seconds for sleeping.