I understand this question might get closed, downvoted etc. Nonetheless there's no better forum than SO to ask so here goes.
I have a publisher in python in thread 1 and subscriber in thread 2. I am trying to code up integration tests where my publisher thread sends data to an enterprise bus and after delta time the subscriber callback happens in thread 2. That's the general pattern, and until the first test completes I don't move to test 2.
I have been investigating frameworks for this but nothing seems to have exactly what I need. The closest that something came was tornado's asynctest http://tornado.readthedocs.org/en/latest/testing.html but then that's all event driven and I am looking for something similar but for threads.
I am sure this problem has been solved elegantly somewhere. If it helps I am on Python 2.7.