title: Order of tests in python unittest
body: <p>I was looking at similar questions and I couldn't find an answer to my problem.</p>
  
  <p>I wrote Tests in a python class that derives from unittest.TestCase</p>
  
  <pre><code>class TestEffortFormula(unittest.TestCase)
  </code></pre>
  
  <p>I need to give an order to the tests (please, do <strong>not</strong> tell me that I shouldn't rely on test's order, I just do).</p>
  
  <p>Before I needed to give order to the tests the command I used to run the tests was:</p>
  
  <pre><code>unittest.main(testRunner=TeamcityTestRunner())
  </code></pre>
  
  <p>Then I wanted to make the order dissappear, so I tried the following:</p>
  
  <pre><code>loader = unittest.TestLoader()
  loader.sortTestMethodsUsing(None)
  loader.loadTestsFromTestCase(TestEffortFormula)
  suite = loader.suiteClass()
  </code></pre>
  
  <p>but from here I don't know how to run the tests, specially with <code>testRunner=TeamcityTestRunner()</code>
  as I did before.</p>
  
  <p>Appreciate your help</p>