title: Python: no such test method: How can I execute a test method by calling it explicitly from another method?
body: <p>Here is my <code>LoginResourceHelper</code> Test class</p>
  
  <pre><code>from flask.ext.testing import TestCase
      class LoginResourceHelper(TestCase):
          content_type = 'application/x-www-form-urlencoded'
  
          def test_create_and_login_user(self, email, password):
              user = UserHelper.add_user(email, password)
              self.assertIsNotNone(user)
  
              response = self.client.post('/', content_type=self.content_type,
                                          data=UserResourceHelper.get_user_json(
                                              email, password))
              self.assert200(response)
              # HTTP 200 OK means the client is authenticated and cookie
              # USER_TOKEN has been set
  
              return user
  
      def create_and_login_user(email, password='password'):
          """
          Helper method, also to abstract the way create and login works.
          Benefit? The guts can be changed in future without breaking the clients
          that use this method
          """
          return LoginResourceHelper().test_create_and_login_user(email, password)
  </code></pre>
  
  <p>When I call <code>create_and_login_user('test_get_user')</code>, I see error as following</p>
  
  <pre><code> line 29, in create_and_login_user
      return LoginResourceHelper().test_create_and_login_user(email, password)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 191, in __init__
      (self.__class__, methodName))
  ValueError: no such test method in &lt;class 'core.expense.tests.harness.LoginResourceHelper.LoginResourceHelper'&gt;: runTest
  </code></pre>