There is no guarantee that the assertion would happen AFTER "sleep" is called. Block the caller for an amount of time to give "update_ip_thread" time to call "sleep" and raise LoopInterruptionForTest exception to terminate the thread. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_ipresolver.py | ||