Why is my setUpClass function not called when I load the test suite via defaultTestLoader.loadTestsFromModule?
<p><strong>Context</strong>: python 2.6.5 environment</p>

<p>I am using <code>unittest.defaultTestLoader.loadTestsFromModule(module)</code> to load tests.
However, when the following is loaded, the <code>setUpClass</code> method is not executed.</p>

<pre><code>class MyTest(unittest.TestCase):
    foo = None

    def test_choice(self):
        self.logger.info('   .. %s' % str(Full.foo))
        self.assertTrue(1 == 1)

    @classmethod
    def setUpClass(cls):
        logging.warn('setUpClass')
        cls.foo = settings.INITIAL
</code></pre>

<p>The returned test suites shows that it returned:</p>

<pre><code>&lt;unittest.TestSuite 
    tests=[&lt;unittest.TestSuite 
         tests=[&lt;internal.tests.master.MyTest testMethod=test_choice&gt;]&gt;,
</code></pre>

<p>Basically under the 'test' package, there will be many tests modules. And I want the <code>setUpClass</code> &amp; <code>tearDownClass</code> to work for each test suites. <code>loadTestsFromModule</code> does not satisfy my requirement. Are there other ways to achieve this ?</p>
