def test_cleanUpThreadPoolEvenBeforeReactorIsRun(self):
        reactor = self.buildReactor()
        threadPoolRef = ref(reactor.getThreadPool())
        reactor.fireSystemEvent("shutdown")
        gc.collect()
        self.assertIdentical(threadPoolRef(), None)
Models module can be loaded from an app located under an egg's top-level package
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/test/test_threads.py/ThreadTestsBuilder.test_cleanUpThreadPoolEvenBeforeReactorIsRun--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/app_loading/tests.py/EggLoadingTest.test_egg3