title: Run subset unittests by matching test method names
body: <p>I have a test.py file which has all the tests under the TestClass.
  It looks like this</p>
  <pre><code>class TestClass(unittest.TestCase):
      def test_1a:
          ....
      def test_1b:
          ....
      def test_2a:
          ....
  </code></pre>
  <p>I know I can run certain tests with the <code>-p</code> label to match patterns but this requires each test in an individual .py file ?  the pattern matching command looks like this <code>python -m unittest discover -s project_directory -p &quot;*_test.py&quot;</code> I guess it matches all .py files with <code>_test</code> in the file name.</p>
  <p>I wonder is that possible to do the same thing when all the tests are in the same .py file.
  For example, I want to run test name with pattern <code>test_1*</code></p>