title: Run setUp only once for a set of automated tests
body: <p>My Python version is 2.6.</p>
  
  <p>I would like to execute the test setUp method only once since I do things there which are needed for all tests.</p>
  
  <p>My idea was to create a boolean variable which will be set to 'true' after the first execution and then disable more than one call to the setup method.</p>
  
  <pre><code>class mySelTest(unittest.TestCase):
      setup_done = False
  
      def setUp(self):
          print str(self.setup_done)
              
          if self.setup_done:
              return
          self.setup_done = True
          print str(self.setup_done)
  </code></pre>
  
  <p>The output:</p>
  
  <pre><code>False
  
  True
  
  --- Test 1 ---
  
  False
  
  True
  
  --- Test 2 ---
  </code></pre>
  
  <p>why is this not working? Did I miss anything?</p>