
Itamar Shtull-Trauring <itamar@itamarst.org> wrote:
The threadpool used by the database is never initialized if you don't use run(). I suggest you look at twisted.test.test_enterprise and see how it deals with initializing and stopping the db in tests (or just use reactor.run() wiith reactor.crash(), though you'll still need to stop the threadpool manually).
Ah... I already tried run() and crash(), but my test didn't terminate. Now I know why - the threadpool was still running. All works now, is good. Thanks. Suggestion: Turn this bug into a documented feature. :) -- Sam "Eddie" Couter | mailto:sam@couter.dropbear.id.au Debian Developer | mailto:eddie@debian.org | jabber:sam@teknohaus.dyndns.org OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C