title: ValueError: no such test method in <class 'myapp.tests.SessionTestCase'>: runTest
body: <p>I have a test case:</p>
  
  <pre><code>class LoginTestCase(unittest.TestCase):
      ...
  </code></pre>
  
  <p>I'd like to use it in a different test case:</p>
  
  <pre><code>class EditProfileTestCase(unittest.TestCase):
    def __init__(self):
      self.t = LoginTestCase()
      self.t.login()
  </code></pre>
  
  <p>This raises:</p>
  
  <pre><code>ValueError: no such test method in &lt;class 'LoginTest: runTest`
  </code></pre>
  
  <p>I looked at the unittest code where the exception is being called, and it looks like the tests aren't supposed to be written this way. Is there a standard way to write something you'd like tested so that it can be reused by later tests? Or is there a workaround?</p>
  
  <p>I've added an empty <code>runTest</code> method to <code>LoginTest</code> as a dubious workaround for now.</p>