Yes, the test fails if the thread doesn't have time to execute (the failure was not visible, since assert_called_once() is not a real assertion, just a mocked method).