Because sleeps are so hard to test, this will mostly be an attribute check, rather than a set of correctness tests.
TestTheBigSleep.test_constructor() | Does it have the expected signature? |
TestTheBigSleep.test_then() | Does it correctly set ‘then’ |
TestTheBigSleep.test_setters() | Do they reset then? |
TestTheBigSleep.test_zero() | Is zero a 0 timedelta? |
TestTheBigSleep.test_timer() | Does it build an event timer with the interval set correclty? |