title: Python unit test, run some methods only once
body: <p>I am using Django testcase for one testsuit like this:</p>
  
  <pre><code>class XXXTests(TestCase):
      def setUp(self):
          ....
  
      def test_something(self):
          ....
  
      def test_anthoerthing(self):
          ....
  </code></pre>
  
  <p>Now I notice that there are a lot of things repeated in <code>test_something()</code> and <code>test_anotherthing()</code> (mostly running some method and get the returned value).</p>
  
  <p>Is there any way I can only run the repeated part once for the testsuit?</p>