Greetings,<br><br>I&#39;ve paused development to bring my unittests up to date, and have hit another snag. I am under the impression that no real work should be done in my factory&#39;s init, so I have a bunch of routines that load data from a DB in startFactory() (they all return deferreds from adbapi). I&#39;m not sure when startFactory() runs, but I know it&#39;s definitely not running before my tests fire. I&#39;m curious: do I need to move my data loading back into init, save the deferred and return that deferred from setUp to have all my pre-loading complete before my tests run? When does startFactory() actually fire?
<br><br>Thanks,<br><br>Brendon Colby<br>